Big10Inch Posted February 4, 2006 Share Posted February 4, 2006 I'm trying to conditionally continue a loop and don't know correct coding. Simple example: For $x = 1 to 10 ; If $x = 3 then skip opening the MsgBox If $x = 3 Then Next MsgBox(0, "Loop Number", $x ) Next I wanted this routine to open a message box for # 1,2,4,5,6,7,8,9,10 and skip # 3 Auto-It doesn't like the 'Next' command next to the 'Then' Link to comment Share on other sites More sharing options...
Big10Inch Posted February 4, 2006 Author Share Posted February 4, 2006 replace next w continueloopThat did the trick --- Thank You Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now