next up previous 63
Next: Example
Up: ADAM Interface Module Reference Manual
Previous: The HELPLIB Specification


The MESSAGE Specification

If a program uses the ADAM message or error systems (MSG or ERR, see SUN/104), then a message text is required. The Message Specification can be used to specify text to be used in preference to text supplied by the program in the call to the MSG or ERR routine. Each of the Message Parameter names used in the program can have a Message Specification in the Interface File. The Message Specification is of the form:

MESSAGE parametername
  TEXT  string
ENDMESSAGE
where parametername is a character string specifying the Message Parameter name which is used in the call to an ERR or MSG subroutine. The name must be different from any other Program or Message Parameter name specified for the program.

sting may by anything acceptable to the ERR or MSG routine (i.e. it may include tokens etc.).

If the Message Specification for a given Message Parameter is omitted, the text specified in the MSG or ERR routine will be used.





next up previous 63
Next: Example
Up: ADAM Interface Module Reference Manual
Previous: The HELPLIB Specification

ADAM Interface Module Reference Manual
Starlink User Note 115
A J Chipperfield, B D Kelly, S L Wright
3 September 2002
E-mail:ussc@star.rl.ac.uk

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