RAD function: jscall

A RAD function that enables you to invoke JavaScript from within RAD.

Function

jscall

Format

jscall( "script.function" , arg1 , arg2, ... , argN )

Parameters

The following parameters are valid for the jscall function:

Parameter Data type Required Description
"script.function" String Yes Refers to a script in the ScriptLibrary and a particular function within the script. This parameter must be enclosed in double quotes.
arg1, arg2, – , argN Varies with each argument The required arguments depend upon the requirements of the script you call.

The arguments passed to JavaScript. You can pass an infinite number of arguments. Arguments are not enclosed in quotes or double quotes and can be RAD expressions, as shown in the following examples:

city in $L.OLD

Or:

level in $L.NEW=0