Read a file line by line: Difference between revisions
m
Regularize non-standard header markup
(→{{header|REXX}}: simplified the first REXX version, added a version that shows the length along with the record number, and it can also only show specific line numbers.) |
Thundergnat (talk | contribs) m (Regularize non-standard header markup) |
||
Line 1,705:
==
Thanks to laziness, there's no difference between reading the file all at once and reading it line by line.
Line 1,713:
</lang>
==
Line oriented I/O is basic. This program reads lines from "input.txt" into the variable line, but does nothing with it.
|