Difference between revisions of "File:Close"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === Closes file. Note that files are automatically closed when their handles are garbage collected, but th...") |
|||
Line 4: | Line 4: | ||
Closes file. Note that files are automatically closed when their handles are garbage collected, but that takes an unpredictable amount of time to happen. | Closes file. Note that files are automatically closed when their handles are garbage collected, but that takes an unpredictable amount of time to happen. | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | file:close() | |
</source> | </source> |
Revision as of 10:20, 23 August 2018
Available since: Gideros 2011.6
Description
Closes file. Note that files are automatically closed when their handles are garbage collected, but that takes an unpredictable amount of time to happen.
file:close()
File usage
There are no pages that use this file.