X file:close

From GiderosMobile

Available since: Gideros 2011.6
Class: file

Description

Closes file.

Note: files are automatically closed when their handles are garbage collected, but that takes an unpredictable amount of time to happen <syntaxhighlight lang="lua"> file:close() </source>