Io.tmpfile

From GiderosMobile
Revision as of 14:28, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

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. <syntaxhighlight lang="lua"> (file) = io.tmpfile() </source>

Return values

Returns (file) file object for temporary file