next up previous
Next: NDF_STYPE - Set a new type for an NDF array component
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_SSARY - Create an array section, using an NDF section as a template

   
NDF_STATE - Determine the state of an NDF component (defined or undefined)

Description:
The routine returns a logical value indicating whether an NDF component has a defined value (or values).

Invocation:
CALL NDF_STATE( INDF, COMP, STATE, STATUS )

Arguments:
INDF = INTEGER (Given)
NDF identifier.
COMP = CHARACTER * ( * ) (Given)
Name of the component; any NDF component name is valid.
STATE = LOGICAL (Returned)
Whether the specified component is defined.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
  • If a component name of 'EXTENSION' is given, then a .TRUE. result will be returned if one or more extensions are present in the NDF.
  • A comma-separated list of component names may also be given, in which case the routine will return the logical "AND" of the states of the specified components (i.e. a .TRUE. result will be returned only if all the components have defined values).



next up previous
Next: NDF_STYPE - Set a new type for an NDF array component
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_SSARY - Create an array section, using an NDF section as a template


Starlink User Note 33
R.F. Warren-Smith
11th January 2000
E-mail:rfws@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils