gdb.info: Built-In Func/Proc
Go forward to M2 Constants
Go backward to M2 Operators
Go up to Modula-2
Go to the top op gdb
Built-in functions and procedures
Modula-2 also makes available several built-in procedures and functions.
In describing these, the following metavariables are used:
represents an `ARRAY' variable.
represents a `CHAR' constant or variable.
represents a variable or constant of integral type.
represents an identifier that belongs to a set. Generally used in
the same function with the metavariable S. The type of S should
be `SET OF MTYPE' (where MTYPE is the type of M).
represents a variable or constant of integral or floating-point
represents a variable or constant of floating-point type.
represents a type.
represents a variable.
represents a variable or constant of one of many types. See the
explanation of the function for details.
All Modula-2 built-in procedures also return a result, described
Returns the absolute value of N.
If C is a lower case letter, it returns its upper case equivalent,
otherwise it returns its argument.
Returns the character whose ordinal value is I.
Decrements the value in the variable V by one. Returns the new
Decrements the value in the variable V by I. Returns the new
Removes the element M from the set S. Returns the new set.
Returns the floating point equivalent of the integer I.
Returns the index of the last member of A.
Increments the value in the variable V by one. Returns the new
Increments the value in the variable V by I. Returns the new
Adds the element M to the set S if it is not already there.
Returns the new set.
Returns the maximum value of the type T.
Returns the minimum value of the type T.
Returns boolean TRUE if I is an odd number.
Returns the ordinal value of its argument. For example, the
ordinal value of a character is its ASCII value (on machines
supporting the ASCII character set). X must be of an ordered
type, which include integral, character and enumerated types.
Returns the size of its argument. X can be a variable or a type.
Returns the integral part of R.
Returns the member of the type T whose ordinal value is I.
_Warning:_ Sets and their operations are not yet supported, so
GDB treats the use of procedures `INCL' and `EXCL' as an error.
Created Mon Nov 8 17:42:38 2004 on tillpc with info_to_html version 0.9.6.