Several of the NDF_ routines are dedicated to generating components of messages, either for information or as part of an error report. These routines use the error and message reporting system (and the ERR_ and MSG_ routines) described in SUN/104.
The routine NDF_MSG may be used to assign the name of an NDF to a message token, so that references to NDFs can form part of a message, as follows:
CALL NDF_MSG( 'NAME', INDF )
CALL MSG_OUT( 'MESS_DEMO',
: 'This NDF structure is called ^NAME', STATUS )
Here, `NAME' is the message token name.
The routine NDF_CMSG may be used in a similar way to assign the value of an
NDF character component to a message token, while NDF_ACMSG may be used to
assign the value of an axis character component (such as an
axis label) to a message token.
Their use is illustrated in § and §
respectively.