Difference between revisions of "Io.read"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2011.6<br/> | + | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>Reading from default input, basically equivalent to io.input():read</translate> | <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 === | + | === <translate>Parameters</translate> === |
'''format1''': (string) <translate>reading format</translate> <br/> | '''format1''': (string) <translate>reading format</translate> <br/> | ||
'''...''': (string) <translate>more optional formats</translate> '''optional'''<br/> | '''...''': (string) <translate>more optional formats</translate> '''optional'''<br/> | ||
− | === Return values === | + | === <translate>Return values</translate> === |
− | '''Returns''' (string) <translate>returns read values or nil</translate><br/> | + | '''<translate>Returns</translate>''' (string) <translate>returns read values or nil</translate><br/> |
Revision as of 07:30, 24 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