DECR
Action
Decrements a variable by one.

Syntax
DECR var

Remarks

Var Variable to be decremented.
var : Byte, Integer, Word, Long, Single.

There are often situations where you want a number to be decreased by 1.
The DECR statement is faster then var = var - 1.

See also
INCR

Example
'--------------------------------------------------------------
' (c) 1997,1998 MCS Electronics
'--------------------------------------------------------------
' file: DEC.BAS
' demo: DECR
'--------------------------------------------------------------

Dim A As Byte

A = 5 'assign value to a
Decr A 'dec (by one)
Print A 'print it
End