☜ | Functions1984 Version of ANSI Standard | ☞ |
The following functions are currently specified.
$ASCII | selects a character of a string and returns its code as an integer. |
$CHAR | translates a set of integers into a string of characters whose codes are those integers. |
$DATA | returns an integer specifying whether a defined value and/or pointer of a named variable exists. |
$EXTRACT | returns a character or substring of a string expression, selected by position number. |
$FIND | returns an integer specifying the end position of a specified substring within a string. |
$JUSTIFY | returns the value of an expression, right-justified within a field of specified size. |
$LENGTH | returns the length of a string or the number of occurrences of a specified substring within a specified string. |
$NEXT and $ORDER |
return the lowest numeric subscript value on the same level, but numerically higher than the last subscript of the named global or local variable. |
$PIECE | returns a string between two specified occurrences of a specified substring within a specified string. |
$RANDOM | returns a pseudo-random number in a specified interval. |
$SELECT | returns the value of one of several expressions in a list, selected by the truth values in a second list of expressions. |
$TEXT | returns the text content of a specified line of the routine in which the function appears. |
$VIEW | reserved for implementation-specific methods of obtaining machine-dependent data. |
$Z | reserved for definition of implementation-specific functions. |
All other initial letters of function names are reserved.
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.
This page most recently updated on 29-Nov-2011, 20:05:08.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)