Name:
dec
Syntax:

DEC var

Var - is the variable to decrement

Description:

Decrement (subtract 1 from) the variable value. This command is shorthand for 'let var = var - 1'

Applies To:
All
See Also:
Related Create:
    Share:
    Print:

    Decrement a variable

    Decrement b2 five times in a for / next loop

    Code Example:
    	let b2 = 10
    	for b1 = 1 to 5
    	  dec b2
    	next b1
    Copy Code Submit an Example

    Submit Your Own Code!

    You must be logged in to submit code examples. Login now.