GetScriptObject
|
Miscellaneous functions |
| 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 |
The GetScriptObject function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.