<< back to sysax.com Product page |
The increment command and decrement commands can be used to increment or decrement a numeric variable by 1.
Exhibit 2.5. Syntax of commands for incrementing and decrementing numeric variables
increment <variable>; decrement <variable>; |
Exhibit 2.6. Example for using the commands for incrementing and decrementing variables
setvar ~my_num, 4; increment ~my_num; #value of ~my_num is now 5 decrement ~my_num; #value of ~my_num is now 4 |