Return next element of ordinal type.
Source position: system.fpd line 68
function Succ( |
X: TOrdinal |
):TOrdinal; |
Succ returns the element that succeeds the element that was passed to it. If it is applied to the last 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 previous element for an ordinal type. |
|
|
Return highest index of open array or enumerated. |
|
|
Return lowest index of open array or enumerated. |