From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function Succ(X: Ordinal): Integer;


Type Visibility Source Unit Parent
function public System.pas System System


Returns the successor of an argument.

In Object Pascal code, Succ returns the successor of the argument X.

X is an expression of an ordinal type (including Int64). The result, of the same type as X, is the successor of X.

See Also

Code Examples