Difference between revisions of "X file:close"

From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2011.6<br/> '''<translate>Class</translate>:''' file<br/> === <transl...")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Class:''' [[file]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/file|file]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Closes file. Note that files are automatically closed when their handles are garbage collected, but that takes an unpredictable amount of time to happen.</translate>
+
Closes file.
 +
 
 +
'''Note:''' files are automatically closed when their handles are garbage collected, but that takes an unpredictable amount of time to happen
 
<source lang="lua">
 
<source lang="lua">
 
file:close()
 
file:close()

Revision as of 04:34, 7 December 2020

Available since: Gideros 2011.6
Class: file

Description

Closes file.

Note: files are automatically closed when their handles are garbage collected, but that takes an unpredictable amount of time to happen

file:close()