Io.read

From GiderosMobile
Revision as of 14:28, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2011.6
Class: io

Description

Reading from default input, basically equivalent to io.input():read. <syntaxhighlight lang="lua"> (string) = io.read(format1,...) </source>

Parameters

format1: (string) reading format
...: (string) more optional formats optional

Return values

Returns (string) returns read values or nil