TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-145
#EMSGET Built-In Function
When the current position is within a particular list, all #EMSGET calls pertain only
to tokens within that list (except that header fields are always accessible). You can
exit from the list by calling #EMSGET to get the ZSPI^TKN^ENDLIST token.
When token-code is ZSPI^TKN^ENDLIST, the index and count parameters have
no effect. However, if you supply them, index must be 0 or 1; count is always
returned as 1.
To retrieve token values into a STRUCT, use the #EMSGETV built-in function.