☜ | postcond1990 Version of ANSI Standard | ☞ |
All commands except Else, For, and If may be made conditional as a whole by following the command word immediately by the post-conditional postcond.
postcond | ::= | [ : tvexpr ] |
See 2.2.4.2 for the definition of tvexpr.
If the postcond is absent or the postcond is present and the value of the tvexpr is true, the command is executed. If the postcond is present and the value of the tvexpr is false, the command word and its arguments are passed over without execution.
The postcond may also be used to conditionalize the arguments of Do, Goto, and Xecute. In such cases the arguments’ expratoms that occur prior to the postcond are evaluated prior to the evaluation of the postcond.
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.
This page most recently updated on 15-Nov-2023, 13:20:22.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)