Io.tmpfile: Difference between revisions

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..."
 
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
'''Class:''' [[io]]<br/>
=== Description ===
=== Description ===
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">
<syntaxhighlight lang="lua">
(file), = io.tmpfile()
(file) = io.tmpfile()
</source>
</syntaxhighlight>
 
=== Return values ===
'''Returns''' (file) file object for temporary file<br/>
'''Returns''' (file) file object for temporary file<br/>
{{Io}}

Latest revision as of 13:30, 13 July 2023

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