Table of Contents
incrDescriptionIncrement the value of an integer. Function prototypeint64 incr <varref:Var> Arguments
Return valueThe 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 <zs:incr i> echo <zs:incr i> echo <zs:incr i> echo <zs:incr i> … the output of which is written to the event log by echo as: 1 2 3 4 CommentsSupported types
The following variable types of the argument Var are supported by
See alsoExcept where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
|