Buffered form repeats, Buffered form copy – Tally Genicom 6600 User Manual

Page 106

Advertising
background image

106

Chapter

6

Buffered Forms

Buffered Form Repeats

Two types of Repeat commands are allowed within a buffered form: the
Buffered Form Copy command and the Buffered Form Repeat command.
Both the Copy and Repeat commands serve to repeat a sequence of Create
<data> a certain number of times. The difference between them is that the
number of times a Copy command repeats data is determined in the Create
command sequence, where as the number of times the Repeat command
repeats data is determined in the Execute command sequence.

Buffered Form Copy

The Buffered Form Copy command is used to repeat a sequence of
commands and data within a buffered form Create <data> sequence. The
command for this is:

Command ^Cnn-<data>^Z^-

Arguments

^C

Copy Command

nn

The number of times the data is to be repeated

(01 - 99).

<data>

The data to be repeated.

^Z^-

End-of-Copy Terminator

Enough data must be included in the Buffered Form Execute to satisfy the
copy counts in the form. Data can be different for each copy. The following
control codes take on special functions within a Buffered Form Copy/Repeat
command:

^-

(Caret hyphen) Fills the rest of the current data field
with spaces.

^*

(Caret asterisk) Causes all unfilled character
positions in all data fields to be filled with blanks up
to the ^Z (End-of-Copy/Repeat) command.

^,

(Caret comma) Causes all unfilled character
positions in all data fields to be filled with blanks up
to the ^Z (End-of-Copy/Repeat) command, and all
character positions in any remaining data fields will
be filled with blanks until the copy count is satisfied.

Advertising