Difference between revisions of "Io.close"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Equivalent to '''[[x_file:close|file:close]]'''. Without a file, closes the default output file. | Equivalent to '''[[x_file:close|file:close]]'''. Without a file, closes the default output file. | ||
− | < | + | <syntaxhighlight lang="lua"> |
io.close(file) | io.close(file) | ||
</source> | </source> |
Revision as of 14:28, 13 July 2023
Available since: Gideros 2011.6
Class: io
Description
Equivalent to file:close. Without a file, closes the default output file. <syntaxhighlight lang="lua"> io.close(file) </source>
Parameters
file: (file) file object to close optional