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

DO

Annotations

doargument

Introduced in the 1977 ANSI M[UMPS] language standard.

This metalanguage symbol represents an occurrence of an argument of the Do command. Examples of valid arguments for the Do command appear in an earlier section. The argument of the Do command is either a destination, or an indirection operator (@) followed by an expression that evaluates to a list (separated by commas) of such arguments.

Modified in the 1990 ANSI M[UMPS] language standard.

The argument of the Do command is either a destination, optionally followed by a parameter list, or an indirection operator (@) followed by an expression that evaluates to a list (separated by commas) of such arguments.

Modified in the 1995 ANSI M[UMPS] language standard.

The destination of a Do command may also be an external subroutine.

Approved for addition in a future M[UMPS] language standard.

The argument of the Do command may also be a method of an object.

Do word.Insert("Hello World.")
executes the method Insert of the object that is accessible through the value of local variable word.

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, 14:41:58.

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