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

linebody

Annotations

comment

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

This metalanguage symbol represents a segment of source code that is ignored while executing a M[UMPS] program. A comment starts with a semicolon, which must occur in a position where any M[UMPS] command could occur, and ends with the “end of line” marker that designates the end of the line on which the comment occurs. A comment may contain any printable graphic characters.

Note: the ability to use of tabulation characters in comments may be an extension that almost all implementations offer, but it is a non-portable extension.

cs

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

This metalanguage symbol represents the white space between commands. This amount of white space between commands may be one or more space characters.

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

Spaces may occur at the end of a line.
␣␣␣Set␣X=1␣␣␣Write␣"Hello."␣␣␣

linebody

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

This metalanguage symbol represents the general structure of a line of M[UMPS] code. A line of M[UMPS] code consists of zero or more commands and a comment, or just a comment.

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

A line of M[UMPS] code consists of zero or more commands and a comment, or just a comment, or zero or more commands, followed by code to be processed by an external code processor.

To be modified in a future M[UMPS] language standard.

Trailing spaces are allowed at the end of a line of M[UMPS] code.

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 17-Nov-2023, 10:33:19.

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