instantreality 1.0

global

Global functions and variables (available without an object).

Properties

TypePropertyDescriptionStandard

Functions

Return typeFunctionDescriptionStandard
voidprint(String s)

Outputs the given string to the browser's console.

voidimportScripts(String url)

Includes the script located at the given URL (protocol can be any valid HTTP protocol, e.g. file:/, http:/).

Avalon
voidinclude(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
integersetInterval(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
voidclearInterval(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
integersetTimeout(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
voidclearTimeout(integer id)

Used to clear the timeout timer started usinged the setTimeout() function.

Avalon