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

XECUTE

Draft MDC Standard

8.2.39 Xecute

X[ECUTE] postcond SP L xargument

    xargument::=

expr postcond
@ expratom V L xargument


Xecute provides a means of executing M[UMPS] code which arises from the process of expression evaluation.

Each xargument is evaluated one at a time in left-to-right order. If the postcond in the xargument is present and its tvexpr is false, the xargument is not executed. Otherwise, if the value of expr is x, execution of the xargument is executed in a manner equivalent to execution of Do y, where y is the spelling of an otherwise unused label attached to the following two-line subroutine considered to be a part of the currently executing routine:

   y ls x eol
     	ls Quit eol
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 12-Sep-2014, 10:17:24.

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