Recover S = %TRIM(X) into a fixed-length field, and %TRIM of an edited text #612
Loading…
Reference in a new issue
No description provided.
Delete branch "rpg-9-n-trim-assign-20261022"
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?
Recover S = %TRIM(X) into a fixed-length field, and %TRIM of an edited text
rpg_trim.zig:assignUnitproves the trimmed assignment: the sourceand the two trim loops, then the copy of the N trimmed bytes at P to S
and, when W - N is more than 0, a fill of the rest of S with blanks
(public twin
h-bifs-charstatement 18,S = %trim(C), new probe: abattery of character built-ins). The closing label of the fill is the end
of the statement, so the proof reads it in the instruction stream.
rpg_trim.zigSource.temp: the trimmed data may be a compilertemporary whose value the reader knows (
33 T).rpg_editc.zig: whenthe edited result temporary is trimmed next, the unit writes the edited
text to it instead of giving a value.
d4-editstatement 12,s = %trim(%editc(p : 'J')), now reads%TRIM(%EDITC(A: 'J')); theexpression form (
i / 100) stays partial on its decimal positions.Gates