Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples
Left Hand Pointer

SET

Annotations

Right Hand Pointer

leftexpr

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

This metalanguage element represents one possible destination where the SET command may store information. This metalanguage symbol allows for the specification of references to $Extract, $Piece, $ECode and $ETrap in this context.

For a complete list of all possible destinations in the context of the SET command, see the metalanguage symbol setargument.

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

The ability to use a reference to the intrinsic function $QSubscript as a Set-destination has been added.

leftrestricted

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

This metalanguage element represents one possible destination where the SET command may store information. This metalanguage symbol allows for the specification of $Device, $Key, $X and $Y in this context.

For a complete list of all possible destinations in the context of the SET command, see the metalanguage symbol setargument.

recordfieldglvn

Approved for inclusion in a future M[UMPS] Language standard.

This metalanguage symbol represents a parameter of the intrinsic functions $DExtract and $DPiece. This parameter is a list (separated by commas) of destinations where values from fields in data records may be stored. Such destinations are typically local or global variables.

setargument

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

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

The destination can be either the name of a variable (possibly subscripted), or a list of names of variables (possibly subscripted, separated by commas) enclosed in parentheses.

Addition in the 1984 ANSI M[UMPS] language standard.

The destination can also be a specification of one or more pieces of information in a variable.

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

The destination can also be a specification of one or more characters in a variable.

The destination can also be $Device, $ECode, $ETrap, $Key, $X or $Y.

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

...

setdestination

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

This metalanguage element indicates where a SET command will store the information-specified on the right-hand side of the equal sign. The destination may be either a single one, or a list of destinations (separated by commas) enclosed in parentheses.

For a complete list of all possible destinations in the context of the SET command, see the metalanguage symbol setargument.

setdextract

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

This metalanguage symbol represents the specification of a data record, of which one or more fields may be extracted in the context of a Set $DExtract command.

setdpiece

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

This metalanguage symbol represents the specification of a data record, of which one or more fields may be extracted in the context of a Set $DPiece command.

setev

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

This metalanguage element represents one possible destination where the SET command may store information. This metalanguage symbol allows for the specification of $ECode and $ETrap in this context.

For a complete list of all possible destinations in the context of the SET command, see the metalanguage symbol setargument.

setextract

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

This metalanguage symbol represents the specification of a variable, of which one or more characters may be redefined in the context of a Set command.

setleft

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

This metalanguage element represents one possible destination where the SET command may store information.

For a complete list of all possible destinations in the context of the SET command, see the metalanguage symbol setargument.

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

The destination of a Set command may also be a property of an object.

Set word.bold=1
accesses the object that is accessible through the value of local variable word and sets its property bold to 1 (true).

setpiece

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

This metalanguage symbol represents the specification of a variable, of which one or more pieces of information may be redefined in the context of a Set command.

setqsub

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

This metalanguage symbol represents a reference to the intrinsic function $QSubscript, in the context of a Set command, in a reference where the value of one subscript is being replaced.

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-2018 MUMPS Development Committee;
Copyright © Examples: 1995-2018 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2018 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 31-May-2017, 20:41:19 .

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