I would like to
create a AFL function which defines a portion of the code in JScript. use
GetScriptObject to create and instance and call it multiple
times.
I would like to
create a DictionayObject within JScript to read data from a
file.
I am trying to
understand if the DictionaryObject gets created every time the AFL function is
called.
I am trying to see
if the JScript could create the Dictionary object once if it is
not already defined within the interpreter and read an populate it from a
file.
That way I am
hoping the reading from file does not happen every time the function is
called.
This would work,
only if there is one instance of the script interpreter per Amibroker,
somehting similar to GetStatiObject.
I know
GetStaticObject would apply to my case, but I don't understand how I can use
JScript code.
Will this
work.
Thx
Sarvi
-----------------------------------------------------------------------------------
Sarvi
Shanmugham
Technical
Leader
Cisco Systems
Inc.
Phone:
408-902-3875