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...")
 
Line 4: Line 4:
 
Equivalent to `file:close`. Without a file, closes the default output file.
 
Equivalent to `file:close`. Without a file, closes the default output file.
 
<source lang="lua">
 
<source lang="lua">
= io.close(file,)
+
io.close(file)
 
</source>
 
</source>
'''file:''' (file) file object to close '''optional'''<br/>
+
'''file''': (file) file object to close '''optional'''<br/>

Revision as of 10:20, 23 August 2018

Available since: Gideros 2011.6

Description

Equivalent to `file:close`. Without a file, closes the default output file.

 io.close(file)

file: (file) file object to close optional