====== incr ======
===== Description =====
Increment the value of an integer.
===== Function prototype =====
int64 incr 
===== Arguments =====
^ Name ^ Type ^ Comment ^
| Var | varref | A reference to the integer variable to be incremented.  |
===== Return value =====
The value of //Var// after it was incremented by 1. 
===== Example =====
// create a new integer 'i', and set it to zero
int i
set i 0
// increment the value of 'i' four times, and echo to log 
echo 
echo 
echo 
echo 
... the output of which is written to the event log by [[plugins:general:zeoscript:reference:functions:echo]] as:
1
2
3
4
===== Comments =====
==== Supported types ====
The following variable types of the argument //Var// are supported by ''incr'': 
  * char
  * sbyte (signed byte)
  * byte
  * short
  * ushort
  * int
  * uint
  * int64
===== See also =====
  * [[plugins:general:zeoscript:reference:functions:decr]]
  * [[plugins:general:zeoscript:reference:functions:add]]