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

Program Punctuation

1977 Version of ANSI Standard

Right Hand Pointer

1.2.3 Program Punctuation

The following special characters may occur in programs.

Unary Arithmetic Operators

 +  plus
- negate

Unary Logical Operator

 '  not

Binary Arithmetic Operators

 +  addition
- subtraction
* multiplication
/ division
\ division with integer quotient
# modulo

Binary Relational Operators

 <  numeric less than
'< numeric greater than or equal
> numeric greater than
'> numeric less than or equal
= string identity
'= string nonidentity
[ string contains
'[ string not-contains
] string follows
'] string not-follows
? string pattern match
'? string pattern nonmatch

Binary Logical Operators

 &  and
'& nand
! or
'! nor

Binary String Operator

 _  concatenation

Delimiters

 ,  argument separation, subscript separation
= value assignment
: post conditional expression, subargument separation
( ) grouping
@ indirection
" string literals
. decimal point in numeric literals
^ preceding routine name in DO, GOTO
E preceding exponent in numeric literals
; comment
space separating command words

Prefixes

 ^  global variable names
$ functions, special variable names
% available in names of the programmer's choice
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.

This page most recently updated on 13-Sep-2014, 08:07:43 .

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