dec

Syntax

dec variable, value

Description

The dec command will decrement a variable by a specified value or by a default of 1. Both integer and real variables can be decremented by either an integer or real value, in addition to array and data type elements.

Example

a = 10
print ( a )
dec a
print ( a )
dec a, 4
print ( a )