Difference between revisions of "Io.close"

From GiderosMobile
Line 3: Line 3:
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/io|io]]<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/io|io]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
<translate>Equivalent to `file:close`. Without a file, closes the default output file.</translate>
+
<translate>Equivalent to [[Special:MyLanguage/file:close|file:close]]. Without a file, closes the default output file.</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  io.close(file)
 
  io.close(file)

Revision as of 09:36, 24 August 2018

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