IO Class extending Object

/ Responsible for I/O operations within the system /

Class Methods

Prints data to the default Marble output stream allowing you to provide information back to your users

function print(string message) : void


Writes one byte to the default Marble output stream allowing you to output one byte back to your users.
Number is converted to byte ((int)b & 0xff);

function write(number b) : void

Reads a line from the default Marble input stream. This works best for applications designed to run in the terminal

function input() : string


Writes a file to the system output such as the web client or terminal what ever is setup
throws an IOException if a problem occurs

function writeFile(string filename) : void