next up previous
Next: ARY_FTYPE - Obtain the full data type of an array
Up: Routine Descriptions
Previous: ARY_FIND - Find an array in an HDS structure and import it into the ARY_ system

ARY_FORM  -  Obtain the storage form of an array

Description:
The routine returns the storage form of an array as an upper-case character string (e.g. 'SIMPLE ').

Invocation:
CALL ARY_FORM( IARY, FORM, STATUS )

Arguments:
IARY = INTEGER (Given)
Array identifier.
FORM = CHARACTER ( ) (Returned)
Storage form of the array.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
  • The symbolic constant ARY__SZFRM may be used for declaring the length of a character variable to hold the storage form of an array. This constant is defined in the include file ARY_PAR.

  • At present, the ARY_ routines only support "primitive " and "simple " arrays, so only the values 'PRIMITIVE ' and 'SIMPLE ' can be returned.



next up previous
Next: ARY_FTYPE - Obtain the full data type of an array
Up: Routine Descriptions
Previous: ARY_FIND - Find an array in an HDS structure and import it into the ARY_ system



ARY A Subroutine Library for Accessing ARRAY Data Structures
Starlink User Note 11
R.F. Warren-Smith
28th April 1998
E-mail:rfws@star.rl.ac.uk