Console Library

The Console library is a Phone.com specific library containing debugging functions.

print

Description: Writes debug text to the phone information window; no new line character is inserted after the text.

Syntax: Console.print()

Example: The following example writes debug text to the phone information window:

// Write debug output
Console.print("In loop, iteration: " + String.toString(i));

printLn

Description: Writes debug text to the phone information window and inserts a new line character after the text.

Syntax: Console.printLn()

Example: The following example writes debug text to the phone information window:

// Write debug output
Console.printLn("In loop, iteration: " + String.toString(i));

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.240.178