Io.read: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
Reading from default input, basically equivalent to io.input():read | <translate>Reading from default input, basically equivalent to io.input():read</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
(string) = io.read(format1,...) | (string) = io.read(format1,...) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
'''format1''': (string) reading format <br/> | '''format1''': (string) <translate>reading format</translate> <br/> | ||
'''...''': (string) more optional formats '''optional'''<br/> | '''...''': (string) <translate>more optional formats</translate> '''optional'''<br/> | ||
=== Return values === | === Return values === | ||
'''Returns''' (string) returns read values or nil<br/> | '''Returns''' (string) <translate>returns read values or nil</translate><br/> | ||
Revision as of 12:35, 23 August 2018
Available since: Gideros 2011.6
Description
Reading from default input, basically equivalent to io.input():read
(string) = io.read(format1,...)
Parameters
format1: (string) reading format
...: (string) more optional formats optional
Return values
Returns (string) returns read values or nil