ArgPut1DArrayI - Put a 1D INT32 array.

Function

Put a 1D INT32 array.

Description

Put a 1D INT32 array item into an ARG structure. The item is created if it does not exist.

Does not convert items like the other Arg routines - if the item already exists it must be at least as long as required and of the same type.

Language

C

Declaration

void ArgPut1DArrayI(id, name, dim, data, status)

Parameters

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

>idSdsIdTypeIdentifier to the structure.
>namechar*Name of the component to be written to.
>dimlongNumber of elements in array. If array does not already exist, it will be created with this number of elements. If it does exist, it must have at least this number of elements
>dataINT32[]The data to be inserted.
!statusStatusType*Modified status. Possible failure codes are:

SDS__NOMEM Insufficient memory for creation
SDS__BADID Invalid Identifier
SDS__INVDIMS Item exists but it not a 1 D array or is 1 D but has less then "dim" elements.
SDS__INVTYPE Item exists but it not of type SDS_DOUBLE.

Support

Tony Farrell, {AAO}

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

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