[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Return previous element for an ordinal type.
Source position: system.fpd line 58
function Pred( |
X: TOrdinal |
):TOrdinal; |
Pred returns the element that precedes the element that was passed to it. If it is applied to the first value of the ordinal type, and the program was compiled with range checking on ({$R+}), then a run-time error will be generated.
For an example, see Ord
Run-time error 201 is generated when the result is out of range.
|
Return ordinal value of an ordinal type. |
|
|
Return next element of ordinal type. |
|
|
Return highest index of open array or enumerated |
|
|
Return lowest index of open array or enumerated |