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

ASCII 35

M[UMPS] by Example

Number sign, also known as pound sign ("#")

ASCII code 35.

This character may be used as a binary ‘modulo’ operator.
Set THISHOUR=$Piece($Horolog,",",2)\60\60
Set THEN=THISHOUR+8#24

This character may be used as a ‘form-feed’ indicator in an argument of a Read or Write command.
If LINES>PAGESIZE Write #

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

This character may be used in the argument of a Read command to indicate the maximum length for the value to be read:
Read X#20

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, 11:58:58.

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