Difference between revisions of "X file:write"

From GiderosMobile
(mostly formatting :-))
m (Text replacement - "<source" to "<syntaxhighlight")
 
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Writes strings or numbers to a file.
 
Writes strings or numbers to a file.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
file:write(value1, ...)
 
file:write(value1, ...)
 
</source>
 
</source>

Latest revision as of 14:32, 13 July 2023

Available since: Gideros 2011.6
Class: file

Description

Writes strings or numbers to a file. <syntaxhighlight lang="lua"> file:write(value1, ...) </source>

Parameters

value1: (string) value to write to file
...: (multiple) other optional values to write to file optional