Yes, count can be variable. Illustration:
for( i = 0; i < 30; i++ )
{
printf("outerloop i = %g\n", i );
for( j = i; j < 2 * i; j++ )
{
printf( "innerloop j = %g\n", j );
}
}
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "sidhartha70" <[email protected]>
To: <[email protected]>
Sent: Monday, August 31, 2009 8:38 PM
Subject: [amibroker] Loops with a variable counter... possible?
> Hi All,
>
> Is there any way to create looping structures where the count is
> variable...?? i.e. I've made the classic error of trying to
> assign an array to the counter of a for...next loop. Not allowed.
>
> Any other ideas...?
>
> TIA
>
>
>
> ------------------------------------
>
> **** 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
>
>
>