next up previous 204
Next: EMS_FACER - Assign the message associated with a Starlink status value to a token
Up: Fortran Subroutine Specifications
Previous: EMS_END - End the current error reporting environment


EMS_EXPND - Expand and return a message

Description:
Any tokens in the supplied message are expanded and the result is returned in the character variable supplied. If the status argument is not set to SAI__OK on entry, no action is taken except that the values of any existing message tokens are always left undefined after a call to EMS_EXPND. If the expanded message is longer than the length of the supplied character variable, the message is terminated with an ellipsis.

Invocation:
CALL EMS_EXPND( MSG, OPSTR, OPLEN, STATUS )

Arguments:

MSG = CHARACTER * ( * ) (Given)
The raw message text.
OPSTR = CHARACTER * ( * ) (Returned)
The expanded message text.
OPLEN = INTEGER (Returned)
The length of the expanded message.
STATUS = INTEGER (Given)
The global status.



next up previous 204
Next: EMS_FACER - Assign the message associated with a Starlink status value to a token
Up: Fortran Subroutine Specifications
Previous: EMS_END - End the current error reporting environment

EMS Error Message Service
Starlink System Note 4
P C T Rees
A J Chipperfield
28 September 2001
E-mail:ussc@star.rl.ac.uk

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