Dec Procedure

Applies to TestComplete 15.31, last modified on March 17, 2022

The Dec procedure decreases the specified variable.

Declaration

Dec(VarN) 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.

See Also

DelphiScript - List of Supported Routines and Variables
Inc

Highlight search results