☜ | $STACKDraft MDC Standard | ☞ |
This form returns a string as follows:
$ST[ACK] ( intexpr , stackcodexpr )
stackcodexpr | ::= | expr | V | stackcode |
stackcode | ::= | │ │ │ │ |
"PLACE" "MCODE" "ECODE" |
│ │ │ │ |
This form returns information about the action that created the level of the PROCESS-STACK identified by intexpr as follows:
stackcode | Returned String | ||||||||||
ECODE | the list of any ecodes added at the level of the PROCESS-STACK identified by intexpr. | ||||||||||
MCODE | the value (in the case of an Xecute) or the line for the location identified by $STack( intexpr , "PLACE" ). If the line is not available, an empty string is returned. | ||||||||||
PLACE | the location of a command at the intexpr level
of the PROCESS-STACK as follows:
The location is in the form:
In place, the first case is used to identify the line being executed at the time of creation of this level of the PROCESS-STACK. The second case (@) shows the point of execution occurring in an Xecute. eoffset is an offset into the code or data identified by place at which the error occurred. The value might point to the first or last character of a "token" just before or just after a "token", or even to the command or line in which the error occurred. Implementors should provide as accurate a value for eoffset as practical. |
All values of stackcode beginning with the letter Z are reserved for the implementation. All other values of stackcode are reserved for future extensions to the $STack function. stackcodes differing only in the use of corresponding upper and lower case letters are equivalent.
Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.
Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.
This page most recently updated on 15-Nov-2023, 13:13:25.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)