Difference between revisions of "Io.read"

From GiderosMobile
Line 6: Line 6:
 
(string) = io.read(format1,...)
 
(string) = io.read(format1,...)
 
</source>
 
</source>
'''format1''': (string) reading format ''''''<br/>
+
=== Parameters ===
 +
'''format1''': (string) reading format <br/>
 
'''...''': (string) more optional formats '''optional'''<br/>
 
'''...''': (string) more optional formats '''optional'''<br/>
 +
=== Return values ===
 
'''Returns''' (string) returns read values or nil<br/>
 
'''Returns''' (string) returns read values or nil<br/>

Revision as of 10:46, 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