What guarantees it? The definition of Status("Stocknum").

d 

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of murthysuresh
> Sent: Tuesday, September 04, 2007 9:19 AM
> To: [email protected]
> Subject: [amibroker] pl clarify what stocknum == 0
> 
> I am trying to understand the logic behind this watchlist cleanup 
> routine. what is this symbol that has Status("stocknum") == 0
> 
> what guarantees that it will be true only for the first time 
> during the 
> exploration?
>  
> 
> // clean up watchlists before starting
> if( s = Status("stocknum") == 0 )
> {
> wlnumber = CategoryFind("wlUsualSuspectsLongFilter", 
> categoryWatchlist ); 
> List = CategoryGetSymbols (categoryWatchlist, wlnumber);
>       for(i = 0; (Symbol = StrExtract(List, i)) != ""; i++)
>               {
>                       CategoryRemoveSymbol (Symbol, 
> categoryWatchlist, wlnumber);
>       }
> }
> 
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
>  
> Yahoo! Groups Links
> 
> 
> 
> 

Reply via email to