GetScriptObject
- get access to script COM object

Miscellaneous functions
(AFL 1.8)


SYNTAX getscriptobject( )
RETURNS OBJECT
FUNCTION Retrieves AFL host's script object. This allows to call functions defined in JScript/VBScript directly from AFL.
EXAMPLE EnableScript("jscript")
<%
function MyAdd(x, y)
{
return x+y;
}
%>
script = GetScriptObject();
WriteVal( script.MyAdd( 7, 9 ) ); // call the function defined in JScript
SEE ALSO

References:

The GetScriptObject function is used in the following formulas in AFL on-line library:

More information:

Updated on-line reference