Anonymous user
Read a specific line from a file: Difference between revisions
m
→{{header|Julia}}
(add julia example) |
|||
Line 566:
=={{header|Julia}}==
<lang Julia>open(readlines, "path/to/file")[7]</
The next function
▲<lang Julia>function read_nth_lines (stream, num)
for i = 1:num-1
readline(stream)
|