WMLScript abort() Function
Complete WMLScript Lang Library
The abort() function aborts a WMLScript and returns a message to the caller of the script.
Syntax
Part |
Description |
text |
A string |
Example
var errtxt = "Illegal value";
Lang.abort("Error in function: " + errtxt);
|
Result
The script is aborted, and the string "Error in function:
Illegal value" is returned to the caller of the script.
|
Complete WMLScript Lang Library
Learn XML with <oXygen/> XML Editor - Free Trial!
|
|
oXygen helps you learn to define,
edit, validate and transform XML documents. Supported technologies include XML Schema,
DTD, Relax NG, XSLT, XPath, XQuery, CSS.
Understand in no time how XSLT and XQuery work by using the intuitive oXygen debugger!
Do you have any XML related questions? Get free answers from the oXygen
XML forum
and from the video
demonstrations.
Download a FREE 30-day trial today!
|
|