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

[amibroker] Are dynamic arrays possible in AB?



PureBytes Links

Trading Reference Links

Hi,

I have a need to create arrays dynamically. Is this possible? I have 
tried several ways including the following but without success:


for (n = 0; n<= tickers-1; n++) 
    {

       for( j = period-1; j <= BarCount-1; j++)
          {
                   
             ID[j] = osTabGet( n, 2 * j + 2, mytable );

           } 
        myarray = "ID"+n;
        myarray = ID;
    }

Tom


Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.8/621 - Release Date: 1/9/2007 1:37 PM