System.Succ

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Succ(X: Ordinal): Integer;

Properties

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

Description

Returns the successor of an argument.

In Delphi 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

Retrieved from "https://docwiki.embarcadero.com/Libraries/Tokyo/e/index.php?title=System.Succ&oldid=624932"