| 
 PureBytes Links 
Trading Reference Links 
 | 
Just off the top of my head... 
  
1. I don't *think* the first example is an empty 
string - wouldn't it be looking for a ticker named (space) ? 
  
2. For 2nd example, it looks like it should work, 
but I think it removes them one at a time  - are all tickers 
in all watchlists included in the list you are exploring? 
  
Steve  
  ----- Original Message -----  
  
  
  Sent: Saturday, August 13, 2005 3:59 
  PM 
  Subject: Re: [amibroker] Simple code 
  stumper 
  
  
  Forgot to mention that this is being done within the 
  Explore environment. 
  
    ----- Original Message -----  
    
    
    Sent: Saturday, August 13, 2005 3:19 
    PM 
    Subject: [amibroker] Simple code 
    stumper 
    
  
    
    I'm stumped on this simple code.  I am 
    trying to use AFL to empty a watchlist before putting new symbols in.  
    Would appreciate it if someone would tell me why the following two 
    examples do not remove the symbols in the first four watchlists 
    (numbers 0-3)?   
    TIA. 
    Bill 
    ---------------------------------------------------------------------------- 
    for (i  =  
    0; i  
    <  4;  
    i++)
    { 
        
    CategoryRemoveSymbol(" ", categoryWatchlist, i);
    } 
    ---------------------------------------------- 
    for (i = 0; i < 4; i++)
    { 
        
    CategoryRemoveSymbol(Name(), 
    categoryWatchlist, i);
    }  
    
      
    No virus found in this incoming message. Checked by AVG 
    Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.8/71 - Release 
    Date: 
  08/12/05
  
  
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 other support material please check also: 
http://www.amibroker.com/support.html 
 
  
  
 
  
    
  YAHOO! GROUPS LINKS
 
 
    
  |   
 |