☜ | $TLEVELM[UMPS] by Example | ☞ |
Introduced in the 1995 ANSI M[UMPS] language standard.
The value of this variable identifies the current depth of nesting of TStart commands (but... keep in mind, there is only at most one transaction active at any given time).
If $TLevel Write !,"Don’t nest these activities"
Quit
TStart *:TRANSACTIONID="MONOPOLY"
Every TStart command increments the value of special
variable $TLevel (initial value is 0).
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.
The information in this page is
NOT authoritative and subject to be modified
at any moment.
Please consult the
appropriate (draft) language standard for an
authoritative definition.
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:06:23.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)