§ 4.39 - [vdec] Built-InMnemonic aid: vdec for Variable DECrement See also: [gload] , [global] , [graw] , [gsave] , [gv] , [load] , [local] , [lv] , [page] , [raw] , [save] , [v] and [vinc] [vdec] decrements a variable. If quiet=1 is provided, then it will not generate any content. If pre=1, then it will produce the value of the variable before the increment. Otherwise it produces the value of the variable after the decrement. [vdec] prefers a local variable, but if a local does not exist, then it will decrement a global if that exists. [vdec (pre=1,)(quiet=1,)variableName] 1 [local x 4] 2 [vdec x] 3 [vdec pre=1,x] 4 [v x] 5 [vdec quiet=1,x] 6 [v x] 7 [vdec x] 1 2 3 3 3 4 2 5 6 1 7 0
1
2 3
3 3
4 2
5
6 1
7 0
Keyboard Navigation
, Previous Page . Next Page t TOC i Index |