Jump to content
Sign in to follow this  
cypher175

restart a loop from the begining if a function fails within the loop..?

Recommended Posts

cypher175

anybody know how to restart a (while 1 - wend) loop from the beginning if my _IEAction ($IE, "refresh") function fails within the loop becuz the browser window has been closed..??

Share this post


Link to post
Share on other sites
picea892

ContinueLoop

Example below is from help file. Uses for/next, but continue loop also works with while/wend

For $i = 1 to 10

If $i = 7 Then ContinueLoop

MsgBox(0, "The value of $i is:", $i)

Next

Share this post


Link to post
Share on other sites
CodyBarrett

as far as i can see there USED to ba a GoTo() func like in CMD prompt... but it was "Evil"... you can do this USING _DOSRun ( ':1' & @CRLF & 'Goto :1') i think...

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.