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

ASCII 41

M[UMPS] by Example

Right Hand Pointer

Right Parenthesis (")")

ASCII code 41.

This character may be used in conjunction with a matching left parenthesis to indicate a priority of evaluation.
Set X=12+(3*4)

This character may be used in conjunction with a matching left parenthesis to delimit lists of subscripts from names of variables.
Set X=NAME(3,"ABC",2)

This character may be used in conjunction with a matching left parenthesis to delimit parameter lists of intrinsic functions.
Set X=$ASCII("ABC",2)

Addition in the 1990 ANSI M[UMPS] language standard:

This character may be used in conjunction with a matching left parenthesis to delimit parameter lists of subroutines, extrinsic variables and extrinsic functions.
Do LABEL^ROUTINE(A,12,.X)
LABEL(ONE,TWO,THREE) ; 3rd parameter by reference
Set X=$$VAR
Set Y=$$FUNCT(A,12)
Job ENTRY^PROGRAM(A,B,C)

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

This character may be used in conjunction with a matching left parenthesis to delimit names of variables to which a value may be assigned in the context of the "find pattern match" operator.
If '(X?4N(ITEM)1","1.3N(QUANT(ITEM)) Do ...

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-2017 MUMPS Development Committee;
Copyright © Examples: 1995-2017 Ed de Moel;
Copyright © Annotations: 2003-2017 Jacquard Systems Research.

The information in this page is NOT authoritative and subject to be modified at any moment.
Please consult the appropriate (draft) language standard for an authoritative definition.

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 28-Nov-2011, 20:03:46 .

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