DEC The DEC command will decrement a variable by a specified Value or by a default of 1.
Syntax
    DEC Variable, Value
Parameters
    Variable
Integer Specify the variable that stores the value.
    Value
Integer A value between 0 and 2415919103.
Returns
This command does not return a value.
Description
Both integer and real variables can be decremented by either an integer or real value, in addition to array and data type elements.
Example Code
    A=10

    PRINT A

    DEC A

    PRINT A

    DEC A,2

    PRINT A

    WAIT KEY
See also
CORE Commands Menu Index