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

XECUTE

1995 Version of ANSI (Equivalent to Current ISO Version) of Standard

8.2.26 Xecute

X[ECUTE] postcond SP L xargument

    xargument::=

expr postcond
@ expratom V L xargument


Xecute provides a means of executing M 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.

This page most recently updated on 12-Sep-2014, 10:17:24.

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