Edited output fields are written in columns with their edit code #664
Loading…
Reference in a new issue
No description provided.
Delete branch "rpg-l3-edit-codes-20261029"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Edited output fields are written in columns with their edit code
An output field with an edit code compiles to an edit with the edit mask of
the compiler (
rpg_output_spec.zig: kindedited, the mask constant, andblank when zero for the second code of a pair). In columns (v0.1.375) such a
program stayed free form. Now the mask is decoded with
rpg_editc.decodefor the digits of the field: the code pair, the second code when the field
shows blanks for zero, and the decimal positions of the field, which the
mask proves. The O line gets the edit code in column 44 (blank after in 45),
and the D line of the field its decimal positions and the INZ with them
(r6e-two-rec:
9P 2 INZ(1234.56)andTotal 2, the original text). Therun-time edit routine of code Z has no mask: its code is Z.
A printer file with the overflow indicator *INOF holds the line count routine
in its first record; the writes of its other records jump to it, which
columns now accepts too (r6e-two-rec, r6e-two-fld, r6e-three-rec).
Gates