Io.close: Difference between revisions
From GiderosMobile
m Text replacement - "<source" to "<syntaxhighlight" |
m Text replacement - "</source>" to "</syntaxhighlight>" |
||
| Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
io.close(file) | io.close(file) | ||
</ | </syntaxhighlight> | ||
=== Parameters === | === Parameters === | ||
Latest revision as of 13:31, 13 July 2023
Available since: Gideros 2011.6
Class: io
Description
Equivalent to file:close. Without a file, closes the default output file.
io.close(file)
Parameters
file: (file) file object to close optional