Jump to content
Sign in to follow this  
venkat

For loop

Recommended Posts

venkat

Hi,

I am looping some value in a for loop to get the other value. For example,

For condition to varibale step +1

checking a contion here

if the condition fails i have to loop for the next value

if the condition pass then i have to continue

Next

Thanks.

Share this post


Link to post
Share on other sites
Szhlopp

Hi,

I am looping some value in a for loop to get the other value. For example,

For condition to varibale step +1

checking a contion here

if the condition fails i have to loop for the next value

if the condition pass then i have to continue

Next

Thanks.

$loop = 0

While 1

If yada = yada then Exitloop

$Loop += 1

Wend

OR

for $I = 0 to 1000

If yada = yada then Exitloop

next

=)

Edited by Szhlopp

Share this post


Link to post
Share on other sites
venkat

$loop = 0

While 1

If yada = yada then Exitloop

$Loop += 1

Wend

OR

for $I = 0 to 1000

If yada = yada then Exitloop

next

=)

Hi,

I am calling a secin() function

In that i am using a for loop

For $i = 1 to $counter step +1

some code ........

.................

In this counter values varies according to previous fucntion

I am checking a condition inside the for loop

if $var = 0 then have increase the $i count and start from the for loop ( How to go to top of for loop and increase the count)

if $var = 1 then continue

Next

Share this post


Link to post
Share on other sites
herewasplato

ContinueLoop()


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.