Skip to content

FileHandle.close

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Close the file handle

Parameters

None.

Return value

Condition Return Value
(always) number

Notes

Example

import "file"
fh = file.open("data.txt", "r")
if fh != null then
    print fh.readLine
    fh.close
end if

Clone this wiki locally