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