Read a file line by line: Difference between revisions
→{{header|APL}}
(Added GNU APL example) |
|||
Line 367:
r ← ⎕FIO['errno'] fileHandle
∇
listFile 'corpus/sample1.txt'
This is some sample text.
The text itself has multiple lines, and
the text has some words that occur multiple times
in the text.
This is the end of the text.
0
0
</lang>
|