[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Static Variables - Remove All



PureBytes Links

Trading Reference Links

Herman, Graham -

Catching up on board reading and this thread.  I had to address this
some time ago and went a different route for performance reasons than
the ones that Herman mentioned.  Since #1518 was marked being worked on
back in Nov., I'm hoping that it will find its way into the next major
release, and that it will include a wildcard list function as well as a
wildcard remove.

Since #1518 appears imminent and will be better since it is built-in, I
don't want to take time and document and post what I did.  But, if you
have to have something immediately what I'd suggest that you take a look
at is the Scripting Dictionary that is on most every PC.

What you do in principle is wrap the StaticVar functions and keep track
of the names in an associative array / hash table to mimic what AB does
internally.  The scripting dictionary implements this functionality and
is fairly fast because it is in-process, and is easy to use.  It is
commonly used for this purpose.  It also allows you to do some other
interesting things such as a sorted list of keys (variable names) with
JScript.


-- Bruce R



------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/