Tally Genicom 6600 Benutzerhandbuch

Seite von 330
Using Duplication Commands
169
Using Duplication Commands
Both the duplication commands use the same basic format. For these 
examples we will use the HDUP and VDUP commands to duplicate the 
BOMB Logo, which we create in a later section, on a form. The following 
program would print the bomb logo four times horizontally on a form:
Example 1: Horizontal Duplication
~CREATE;BOMB
 
HDUP;4;10
 
LOGO
 
10;10;BOMB
 
STOP
 
HDUP;OFF
 
END
 
~EXECUTE;BOMB
 
~NORMAL
Printer Output:
Example 2: Vertical Duplication
The following program would print the bomb logo four times vertically.
~CREATE;BOMB
 
VDUP;4;10
 
LOGO
 
10;10;BOMB
 
STOP
 
VDUP;OFF
 
END
 
~EXECUTE;BOMB
 
~NORMAL
Printer Output: