Difference between revisions of "Io.close"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === Equivalent to `file:close`. Without a file, closes the default output file. <source lang="lua"> = io.c...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
+ | '''Class:''' [[io]]<br/> | ||
+ | |||
=== Description === | === Description === | ||
− | Equivalent to | + | Equivalent to '''[[x_file:close|file:close]]'''. Without a file, closes the default output file. |
− | < | + | <syntaxhighlight lang="lua"> |
− | + | io.close(file) | |
− | </ | + | </syntaxhighlight> |
− | '''file | + | |
+ | === Parameters === | ||
+ | '''file''': (file) file object to close '''optional'''<br/> | ||
+ | |||
+ | {{Io}} |
Latest revision as of 14: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