Difference between revisions of "Io.tmpfile"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === Returns a handle for a temporary file. This file is opened in update mode and it is automatically remo...")
 
Line 4: Line 4:
 
Returns a handle for a temporary file. This file is opened in update mode and it is automatically removed when the program ends.
 
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>
 
'''Returns''' (file) file object for temporary file<br/>
 
'''Returns''' (file) file object for temporary file<br/>

Revision as of 11:20, 23 August 2018

Available since: Gideros 2011.6

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()

Returns (file) file object for temporary file