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

ASCII 58

M[UMPS] by Example

Colon (":")

ASCII code 58.

This character may be used to separate commands and arguments from a ‘postcondition’ that indicates whether the command or argument is to be executed.
Set:A>5 X=99
Goto LARGE:X>100,TINY:X>5,SMALL:X>50,AVERAGE

This character may be used to separate entities within arguments.
For I=1:1:4
Lock NAME:TIME

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

This character may be used to separate conditions and values in the parameterlist of the function $Select.
Set A=$Select(X>100:"Large",X<5:"Tiny",1:"Average")

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.

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 16-Nov-2023, 14:34:38.

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