Io.tmpfile: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
<languages />
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''Class:''' [[io]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/io|io]]<br/>
 
=== <translate>Description</translate> ===
=== Description ===
<translate>Returns a handle for a temporary file. This file is opened in update mode and it is automatically removed when the program ends.</translate>
Returns a handle for a temporary file. This file is opened in update mode and it is automatically removed when the program ends.
<source lang="lua">
<source lang="lua">
(file) = io.tmpfile()
(file) = io.tmpfile()
</source>
</source>
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (file) <translate>file object for temporary file</translate><br/>
=== Return values ===
'''Returns''' (file) file object for temporary file<br/>


{{Io}}
{{Io}}

Revision as of 05:21, 7 December 2020

Available since: Gideros 2011.6
Class: io

Description

Returns a handle for a temporary file. This file is opened in update mode and it is automatically removed when the program ends.

(file) = io.tmpfile()

Return values

Returns (file) file object for temporary file