Sign in to follow this  
Followers 0

How to continue with the next iteration?

2 posts in this topic

Posted

Hey,

Please take a look at this:

For $loop=1 to 3
;Starting the script
	myFunc ()
Next

Func myFunc ()
$var=InputBox ("Var","What is your var?")

If $var=1 Then
	Msgbox (0,"","Great! You have chosen 1. Now lets continue to the next iteration")
;;;;; WHAT TO PUT HERE IN ORDER TO CONTINUE WITH THE NEXT ITERATION???
	
Else
	Msgbox (0,"","Sorry. You have not chosen the variable 1")
EndIf  

Msgbox (0,"","You have chosen var " & $var & " and not 1")
EndFunc

Share this post


Link to post
Share on other sites



Posted

As usual, :iamstupid: .

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  
Followers 0