☜ | labelrefDraft MDC Standard | ☞ |
When the Do or Job commands or exfunc include parameters to be passed to the specified routine, the +intexpr form of entryref is not permitted and the specified line must be a formalline. The line specification labelref is used instead:
labelref | ::= | │ │ │ |
label [ ^ [ VB environment
VB ] routinename ^ [ VB environment VB ] routinename |
│ │ │ |
If the routine reference ( ^ [ VB environment VB ] routinename ) is absent, the routine being executed is implied. If the line reference ( label ) is absent, the first line is implied. If the labelref includes an environment, then the routine is fetched from the specified environment. Reference to a non-existent environment causes an error condition with an ecode = "M26".
In the context of a Do or Job command, an exfunc, or an exvar, a spelling of label which does not occur in a defining occurrence in the given routine causes an error condition with ecode = "M13".
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 28-Nov-2011, 21:33:04.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)