global
Global functions and variables (available without an object).
Properties
Type | Property | Description | Standard |
---|
Functions
Return type | Function | Description | Standard |
---|---|---|---|
void | print(String s) | Outputs the given string to the browser's console.
| |
void | importScripts(String url) | Includes the script located at the given URL (protocol can be any valid HTTP protocol, e.g. file:/, http:/).
| Avalon |
void | include(String url) | Includes the script located at the given URL (protocol can be any valid HTTP protocol, e.g. file:/, http:/). Deprecateduse the importScripts() method | Avalon |
integer | setInterval(function func, float interval) | Calls the given func or evaluates an expression at specified intervals (in milliseconds). The setInterval() function will continue calling the function until clearInterval() is cleared. The ID value returned by setInterval() is used as the parameter for the clearInterval() function. Returns the id of the timeout timer.
| Avalon |
void | clearInterval(integer intervalID) | Used to clear an interval that was started using setInterval() The intervalID is the id of the interval timer to clear (returned by the setInterval() function).
| Avalon |
integer | setTimeout(function func, float interval) | Calls the given func or evaluates an expression once after the specified interval (in milliseconds). Returns the id of the timeout timer.
| Avalon |
void | clearTimeout(integer id) | Used to clear the timeout timer started usinged the setTimeout() function.
| Avalon |