## Data Types## 1977 Version of ANSI Standard |

Arithmetic operations are performed on strings and produce numeric values, which are special cases of strings. This approach to the standard specification does not preclude the use of multiple data representations within an implementation of the standard.

Any string value may enter into an arithmetic operation; there is a uniform rule for interpreting a string as a number. Certain operations deal with integer values, which are special cases of numeric values; the latter may contain decimal fractions. There is a uniform rule for interpreting any number (and, by inference, any string) as an integer.

Certain other operations deal with truth values, which are special cases of numeric values. There are two truth values: 0 and 1. The integer value 0 is the truth value 0. The integer value 1 is the truth value 1. All other numeric values are interpreted as the truth value 1. The truth value 0 denotes False; the truth value 1 denotes True.

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 18-Jan-2005, 22:43:50 .

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