DEC

Syntax:

dec <byte or int variable>

The DEC command decrements the value of a byte or integer variable by 1. This is considerably faster than doing LET x = x - 1. Example:

let myVar = 10
dec myVar
print myVar

The above will output 9.

Note: the DEC command does not work on floats.