Dec

Top  Previous  Next

Prototype

 

Dec(intNumber)

 

Description

 

Decreases the variable passed as parameter.

 

Parameters

 

IntNumber: integer value to be decreased.

 

Returned value

 

None.

 

Example

 

// Initialize a variable

Counter:=10;

// Decrement it: now the value is "9"

Dec(Counter);