EnableScript
- enable scripting engine

Miscellaneous functions


SYNTAX EnableScript(''enginename'')
RETURNS NOTHING
FUNCTION Enables AFL scripting host.

Parameter: enginename - specifies which scripting language will be used. Allowable values:

  • "jscript" - standard JScript engine (the same as in pre-6.40 versions),
  • "vbscript" - VBScript engine
  • "chakra" - (new in AmiBroker 6.40) - newer version of JScript engine featuring native JSON object.

See also: AFL scripting host

EXAMPLE EnableScript( "jscript" );
EnableScript("vbscript");
SEE ALSO

References:

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

More information:

See updated/extended version on-line.