Dec Procedure

Applies to TestComplete 15.47, last modified on January 20, 2023

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