Skip to content

FileHandle.readLine

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Read the next line from the file

Parameters

None.

Return value

Condition Return Value
(always) string

Notes

Example

import "file"
fh = file.open("data.txt", "r")
line = fh.readLine
print line
fh.close

Clone this wiki locally