Io.tmpfile: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
=== 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 ===
=== Return values ===

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