Execute the commands a number of times given by the range. The range consists of a minimum numeric value, followed by a maximum value, separated by a comma. If only a single value is given, then a loop of 1,value is assumed (executing the command the number of times stated by the value). The current value of the loop variable is stored into the %i variable for use in the commands.
You can also perform reverse loops by making the start value of the range larger than the finish value.
displays -1 -2 -3
Add comment