Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

postcond

Draft MDC Standard

8.1.4 Post conditional postcond

All commands except Else, For, and If may be made conditional as a whole by following the commandword immediately by the post-conditional postcond.

    postcond::= [ : 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 commandword 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.

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

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:20:22.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)