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

XECUTE

1984 Version of ANSI Standard

3.6.19 XECUTE

X[ECUTE] postcond Space L xargument

    xargument::=

expr postcond
@ expratom V L xargument


XECUTE provides a means of executing MUMPS code which arises from the process of expression evaluation.

Each xargument is executed one at a time in left-to-right order. If the postcond in the xargument is false, the xargument has no effect. Otherwise, if the value of expr is x, execution of the xargument is 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

See also the transition diagram for Xecute.

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)