
6.MACRO EXECUTOR FUNCTION B-63943EN-2/01
- 186 -
Using bit 6 (PTCR) of compile parameter (No. 9003), it is possible to
output a "CR" code to each block. It can be used to start a new line on
a printing device.
PTCR = 0: "CR" is not output after "LF."
% LF N3000P1234 LF P5678 LF %
PTCR = 1: "CR" is output twice after "LF."
% LF CR CR N3000P1234 LF CR CR P5678 LF CR CR %
For address F, the following specifications are possible:
When -9.9 is specified for f, the significant digits of macro variable
data is automatically identified and output. The maximum number of
digits that can be output is 12. The output tape format is the same as
that described above.
If, however, the variable data is outside the following range:
-999999999999. to -0.00000000001
999999999999. to 0.00000000001
"LF" is output following "P" in the same way as when the data is null.
When -9.8 is specified for f, data is output in floating-point format.
The output tape format is the same as that described above, except
that address "Q" is output instead of address "P" and the variable data
is fixed to 10 characters.
The macro variable data that has been output in this tape format can
be read by using G337; the data is stored in the appropriate variables
in floating-point format.
During output, the feed portion is not controlled. To perform feed
using a paper tape punch, etc., use data transmission G336.
NOTE
1 f is set to 9.3 when the power is turned on. When a
value is specified for address f, that value is stored.
When F is omitted, the previously specified value
takes effect.
2 z is set to 0 when the power is turned on. When a
value is specified for address Z, that value is stored.
When Z is omitted, the previously specified value
takes effect.
- By exercising control on output of "%" (EOR) with address R,
multiple variable groups can be output in one-tape format.
- When variable numbers are not output, the output variable data
can be stored in any desired variables using address P with
macro variable input function G337.