Jump to content

Reverse the order of lines in a text file while preserving the contents of each line: Difference between revisions

m
→‎version 2: added two other REXXes.
(→‎{{header|REXX}}: added a 2nd version which if faster and uses less memory (storage).)
m (→‎version 2: added two other REXXes.)
Line 277:
::*   R4 REXX
::*   ROO REXX
::*   CMS REXX compiler
::*   CMS OREXX
<lang>/*REXX pgm reads a file, and displays the lines (records) of the file in reverse order. */
parse arg iFID . /*obtain optional argument from the CL.*/
Cookies help us deliver our services. By using our services, you agree to our use of cookies.