Tally Genicom 6600 Printer User Manual


 
92
Chapter 5 Repeating Data, Version 2
Multiple Repeat Commands
A Graphics Pass may contain more than one Repeat Start/Repeat End pair.
When a Graphics Pass contains more than one pair of Repeat Start/Repeat
End commands, the additional pairs are described as being “nested” inside
the Graphics Pass. The nexted pairs are matched by pairing the first Repeat
End with the last Repeat Start continuing in sequence until the last Repeat
End is paired with the first Repeat Start.
In the example below there are two Vertical Repeat pairs nested in the
Graphics Pass. Each nested pair comprises a Repeat Level in the Graphics
Pass. The Repeat level at a given point within a Graphics Pass is defined as
the number of Repeat start commands minus the number of Repeat End
commands previously encountered. For instance, the A is at the Repeat Level
2 in the following Code V command sequence:
NOTE:
There can only be 9999 repeats per repeat level.
The maximum number of repeat levels is 10.
If multiple Repeat Start commands are set, each Start Repeat must be
paired with an End Repeat.
No printing occurs until all Repeat Commands are terminated.
Example 1: this Graphics Pass has three Repeat levels: