Console Library
The Console library is a Phone.com specific library containing debugging functions.
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));
Get WAP Development with WML and WMLScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.