Pred

Declaration:
Function Pred (X : Any ordinal type) : Same type;
Description:
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.
Errors:
Run-time error 201 is generated when the result is out of range.
See also:
Ord (542), Pred (548), High (511), Low (531)

for an example, see Ord (542)