Anonymous user
File input/output: Difference between revisions
m
→version 1: added/changed comments and whitespace, added a comment in the REXX section header, elided the use of a temporary REXX variable (placeholder). .
m (→version 1: added/changed comments and whitespace, added a comment in the REXX section header, elided the use of a temporary REXX variable (placeholder). .) |
|||
Line 2,336:
===version 1===
The two ''optional'' REXX statements are only needed if there is another REXX program in the invocation chain
oFID = 'output.txt' /*the name of the output file. */
call lineout iFID,,1 /*insure the input starts at line one.*/ /* ◄■■■■■■ optional. */
call lineout oFID,,1 /*insure the output starts at line one.*/ /* ◄■■■■■■ optional. */
do while lines(iFID) \== 0 /*read records
===version 2===
|