Difference between revisions of "X file:write"
From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2011.6<br/> '''<translate>Class</translate>:''' file<br/> === <transl...") |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2011.6<br/> | |
− | ''' | + | '''Class:''' [[file|file]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Writes strings or numbers to a file. | |
− | < | + | <syntaxhighlight lang="lua"> |
− | + | file:write(value1, ...) | |
</source> | </source> | ||
− | === | + | |
− | '''value1''': (string) | + | === Parameters === |
− | '''...''': (multiple) | + | '''value1''': (string) value to write to file<br/> |
+ | '''...''': (multiple) other optional values to write to file '''optional'''<br/> | ||
{{File}} | {{File}} |
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