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

RE: [amibroker] Continue and Break Statement



PureBytes Links

Trading Reference Links

Not that I know of.

Maybe you could simulate with if () tests like this?

 

for (i = 1; i < barCount; i++)

{

    code;

    code;

    if (NOT conditionSkip)

    {

       //Skips this section of code when conditionSkip is True

        code to execute normally;

    }

    if (conditionBreak) i = barCount;

}

--

Terry

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of jay_podda
Sent: Monday, November 06, 2006 12:55
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Continue and Break Statement

 

I am wondering if there is Continue and Break statement in AFL? I want 
to continue to next iteration in for loop by skiping other statement 
if some condition is true. Also, need to break loop on some condition.

 


Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.11/542 - Release Date: 11/20/2006