Difference between revisions of "Io.read"

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...")
 
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), = io.read(format1...,)
+
(string) = io.read(format1,...)
 
</source>
 
</source>
'''format1:''' (string) reading format ''''''<br/>
+
'''format1''': (string) reading format ''''''<br/>
'''...:''' (string) more optional formats '''optional'''<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 11: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