Io: Difference between revisions

From SkyCorp Global
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
== Public Methods ==
== Public Methods ==


=== void write(string) ===
=== static void write(string, ...) ===
Output string to screen.  Does not automatically add newlines.
Output string to screen.  Does not automatically add newlines.
If passed multiple values,this function will print all their contents.  Usually you just want to print one, so [[MainScreen]].addGameText may be a better choice -- especially for evading the [[LUA Implementation Limitations & Notes|LUFA garbage array bug]].
[[Category:LUA Class Reference]]

Latest revision as of 05:47, 30 December 2017

NOTE: This class is lowercase, ie: 'io'

Public Methods

static void write(string, ...)

Output string to screen. Does not automatically add newlines.

If passed multiple values,this function will print all their contents. Usually you just want to print one, so MainScreen.addGameText may be a better choice -- especially for evading the LUFA garbage array bug.