|
|||
Download User Info New User FAQ Tutorials Demos Commands Variables Troubleshooting Sysop Info Sysop FAQ Theory Installation Management Tests Troubleshooting Feedback Resources Release Notes Credits Disclaimer |
Synopsis * Description * Keywords Increment the value of the variable
Increments the value stored in the variable whose name is varName. If varName does not exist, it is created and set to 1. This is what distinguishes this command from incr, which returns an error if it tries to increment a variable that does not exist. The value of the variable must be an integer. If increment is supplied then its value (which must be an integer) is added to the value of variable varName; otherwise 1 is added to varName. The new value is stored as a decimal string in variable varName and also returned as result.
add, increment, variable, value
|
||
Copyright © 1995-1999 NeoSoft Inc., 1770 St. James Place, Suite 500, Houston, TX 77056 USA. All Rights Reserved |