
B–61803E–1/10
6. FUNCTIONS OF THE MACRO
EXECUTOR
PROGRAMMING
77
(1) Macro Variable Data Input (G337)
G337 Pp ;
p : the head variable number which mounts the macro variable
(omissible)
A macro variable data, which is input from reader puncher interface
that opened with the read control mode, is read and set it to the
correspondenting variable.
The tape format of macro variable data is as follows;
LF N_ P_ LF P_ LF %
Leader part
Start to input
Variable
number
Variable data
Tape end
Information before ”LF” which appears on the tape at first is all
disregarded.
The tape to the end (”EOR”) from the first ”LF” is analyzed as
significant information.
A section which is spaced with ”LF” and ”LF” into significant
information segments called a block, and one block shows one macro
variable data.
Address ”N” can be omitted. In this case, the variable number is
interpreted to be (the variable number of the preceding block) +1. If
”N” is omitted at the head block, the variable number is assumed to
be the one specified by address ”P” with instruction G337. Therefore,
a tape without ”N” is made out, and arbitrary variables are read by the
instruction of ”337” ” Pp”.
Address ”P” on the tape indicates the value of the variable and cannot
be omitted. ”LF” is specified after ”P” for value zero (#0) without
specifying the value.
LF N_ P LF
”LSK” or ”EDIT” goes on and off under the right of the screen if the
data is being read. If the data is being read, the screen cannot be
changed.
NOTE
1 G337 is a one shot G code.
2 Address ”O” data and every ”CR”, space, ”DEL” code is
disregarded within the significant information section.
3 Only ISO or ASCII code can be used for input code.
4 TV, TH check does not run.