Function & Argument Type(s)
|
Description
|
Example |
eval string Return Type: Any type |
Evaluate the specified expression. |
i = 10 eval("i>20") = false |
parseInt string / string, int Return Type: int |
Return an int read from a string, using the given radix if a second argument is provided. |
parseInt("5") = 5 |
parseLong string / string, int Return Type: int |
Return a long read from a string, using the given radix if a second argument is provided. |
parseLong("6") = 6L |
toBinaryString int / long Return Type: string |
Return a binary representation of the argument. |
i = 5 toBinaryString(i) = 101 |
toOctalString int / long Return Type: string |
Return an octal representation of the argument. |
i = 74 toOctalString(i) = 112 |
toHexString int / long Return Type: string |
Return a hexadecimal representation of the argument. |
i = 74 toHexString(i) = 4a |
toString double / int / int, int / long / long, int Return Type: string |
Return a string representation of the argument, using the given radix if a second argument is provided. |
i = 74 toString(i) = "74" |
traceEvaluation string Return Type: string |
Evaluate the specified expression and report details on how it was evaluated. |
traceEvaluation("i+2") |
Created with the Personal Edition of HelpNDoc: Free help authoring environment