Table of Contents
decrDescriptionDecrement the value of an integer. Function prototypeint64 incr <varref:Var> Arguments
Return valueThe value of Var after it was decremented by 1. Example// create a new integer 'i', and set it to 10 int i set i 10 // decrement the value of 'i' four times, and echo to log echo <zs:decr i> echo <zs:decr i> echo <zs:decr i> echo <zs:decr i> … the output of which is written to the event log by echo as: 9 8 7 6 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
|