Jump to content

How to continue with the next iteration?


Recommended Posts

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...