The Inc
procedure increases the specified variable.
Declaration
Inc(Var, N)
Parameters
Var | [in, out] | Required | Variant | |
N | [in] | Optional | Integer | Default value: 1 |
Result | None |
Description
Increases the variable, specified by the Var parameter, by the value specified by the N parameter. If N is not specified, Var is increased by one.
Parameters
The procedure has the following parameters:
Var
Specifies the value to be increased.
N
Specifies the value to be added to Var.