Tcl Powered!NeoWebScript

Home
 
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
INCR - Safe TCL
Synopsis * Description * Keywords

Increment the value of the variable

Synopsis

  • incr varName ?increment?

Description

Increments the value stored in the variable whose name is varName. 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.

Keywords

add, increment, variable, value

Copyright © 1995-1999 NeoSoft Inc., 1770 St. James Place, Suite 500, Houston, TX 77056 USA. All Rights Reserved