SdsWrite - Write an SDS object to a file

Function

Write an SDS object to a file

Description

Given an identifier to an internal SDS object, write it to a file. The file can be read back using SdsRead.

Language

C

Declaration

void SdsWrite(SdsIdType id, char *filename, StatusType *status)

Parameters

(">" input, "!" modified, "W" workspace, "<" output)

>idSdsIdTypeThe identifier to the object to be output
>filenamechar*The name of the file into which the object will be written
!statuslong*Modified status. Possible failure codes are:

SDS__BADID The identifier is invalid
SDS__EXTERN The object is external
SDS__NOMEM Insufficient memory for output buffer
SDS__FOPEN Error opening the file
SDS__FWRITE Error writing the file

Prior requirements

None.

Support

Jeremy Bailey, {AAO}

Version date

31-Jan-92

Click here for the DRAMA home page and here for the AAO home page.

 For more information, contact tony.farrell@mq.edu.au