Type Function Library io.* Return value none Revision 2017.3060 Keywords io, flush, file See also io.output() io.write()
Flushes the default output file. Equivalent to io.output():flush.
If io.output has not been changed from its default output (stdout), this will flush any io.write or print data to the Corona Simulator Console, Xcode console, or Console.app.
io.flush()
io.write( "My console data\n" ) -- write the string to console io.write( "My console data 2\n" ) -- write the string to console io.flush()