You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Sep 11, 2026
·
3 revisions
Close the file handle, writing any changes to the disk
Parameters
None.
Return value
Condition
Return Value
(always)
number
Notes
An open file is worked on in memory; this is the point at which changes reach
the disk. A handle that is never closed never persists what was written to it.
Returns 1 if the handle was open, or 0 if it was already closed.