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.)
m (Regularize non-standard header markup)
Line 1,705:
 
 
== {{header|Haskell}}==
Thanks to laziness, there's no difference between reading the file all at once and reading it line by line.
 
Line 1,713:
</lang>
 
== {{header|Icon}} and {{header|Unicon}} ==
Line oriented I/O is basic. This program reads lines from "input.txt" into the variable line, but does nothing with it.
 
10,333

edits