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

XECUTE

1990 Version of ANSI Standard

2.6.21 Xecute

X[ECUTE] postcond SP L xargument

See 2.5.1 for the definition of postcond. See section 1 for the definition of L.

    xargument::=

expr postcond
@ expratom V L xargument


See 2.3 for the definition of expr. See 2.5.1 for the definition of postcond. See 2.2 for the definition of expratom. See section 1 for the definition of V. See section 1 for the definition of L.

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

See 2.4.1 for the definition of ls and 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)