The Dec
procedure decreases the specified variable.
Declaration
Dec(Var, N)
Parameters
Var | [in, out] | Required | Variant | |
N | [in] | Optional | Integer | Default value: 1 |
Result | None |
Description
Decreases the variable specified by the Var parameter by the value specified in the N parameter. If N is not specified, Var is decreased by one.
Parameters
The procedure has the following parameters:
Var
Specifies the value to be decreased.
N
Specifies the value to be subtracted from Var.