WMLScript Interview Preparation Guide Download PDF
4 WMLScript Questions and Answers:
No, you cannot use embedded WMLScript in your WML pages. You need to place your scripts in seperate files and reference them from your WML decks. Check the WMLScript tutorial to see how it's done.
The functions in this section are accessed by Lang.functionName abs(number) returns the absolute value of number min(number1,number2) returns smallest of number1 and number2, or number1 if equal min(number1,number2) returns largest of number1 and number2, or number1 if equal parseInt(string) returns the integer value of string parseFloat(string) returns the floating point value of string isInt(string) returns true if string can be converted to an integer isFloat(string) returns true if string can be converted to a floating point value maxInt() returns the maximum supported integer value