If the size of a primitive array is increased the contents of the extra locations is undefined. Decreasing the size causes the data beyond the new limit to be lost.
If a structure array is extended the new elements created will be empty structures. If a structure array is decreased in size, the lost elements and all their components will be deleted.
> | id | SdsIdType | Identifier of the object to be resized. |
---|---|---|---|
> | ndims | long | New number of dimensions. |
> | dims | unsigned long* | Array of dimensions. |
! | status | StatusType* | Modified status. Possible failure codes are: |
SDS__BADID | The identifier is invalid. |
---|---|
SDS__NOMEM | Insuficient memory. |
SDS__EXTERN | Object is external. |
SDS__NOTARR | Object is not an array. |
SDS__INVDIMS | Dimensions invalid. |
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tony.farrell@mq.edu.au