next up previous
Next: NDF_COPY - Copy an NDF to a new location
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_CMPLX - Determine whether an NDF array component holds complex values

   
NDF_CMSG - Assign the value of an NDF character component to a message token

Description:
The routine assigns the value of the specified character component of an NDF to a message token, for use in constructing messages using the MSG_ or ERR_ routines (see SUN/104).

Invocation:
CALL NDF_CMSG( TOKEN, INDF, COMP, STATUS )

Arguments:
TOKEN = CHARACTER * ( * ) (Given)
Name of the message token.
INDF = INTEGER (Given)
NDF identifier.
COMP = CHARACTER * ( * ) (Given)
Name of the character component whose value is to be used: 'LABEL', 'TITLE' or 'UNITS'.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
  • If the specified NDF component does not have a defined value, then the string '<undefined>' is assigned to the token instead.



next up previous
Next: NDF_COPY - Copy an NDF to a new location
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_CMPLX - Determine whether an NDF array component holds complex values


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