[amibroker] Re: Explore & Debug vs. Code Check: What's Different?

 

Oh, f* me. That was it. The following substitution makes the problem go away, and better captures the intent of the conditional,


procedure CleanUpStats() { // begin CleanUpStats
if (Status("action") != actionPortfolio) {
StaticVarRemove("pdf*"); 
StaticVarRemove("MIresult*");
StaticVarRemove("MIexists*");
}
} // end CleanUpStats


Thank you VERY much. There's a big disadvantage to having only one set of eyes looking over a lot of code, and a great advantage having others look at it.

__._,_.___

Posted by: rosenberggregg@yahoo.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (9)
**** 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/


.

__,_._,___


EmoticonEmoticon