 |
 |
Command : Inc , Dec
|
| |
Syntax
INC < variable >
DEC < variable >
Description
INC : Increments the value of a variable by 1.
DEC : Decrements the value of a variable by 1.
If the variable does not contain a number , these commands will do nothing.
Note that there is a limit for the numbers that can be incremented , it depends
on the size of type long on your machine.
Example
set $num 100;
while ($num)<
    dec $num;
>
See also
SET UNSET
Index  Command list  Commandline syntax