pezo89 Posted October 28, 2009 Share Posted October 28, 2009 Ok this is just stupid, i know that, but i cannot understand how i can loop a wile and wend command X number of times. instead of copy paste the command within the loop 250 times also. Link to comment Share on other sites More sharing options...
99ojo Posted October 28, 2009 Share Posted October 28, 2009 (edited) Ok this is just stupid, i know that, but i cannot understand how i can loop a wile and wend command X number of times. instead of copy paste the command within the loop 250 times also. Hi, many ways for this: $i = 1 While $i < 251 MsgBox (0,"", $i) sleep (20) $i += 1 WEnd ;-)) Stefan Edited October 28, 2009 by 99ojo Link to comment Share on other sites More sharing options...
pezo89 Posted October 28, 2009 Author Share Posted October 28, 2009 Hi, many ways for this: $i = 1 While $i < 251 MsgBox (0,"", $i) sleep (20) $i += 1 WEnd ;-)) Stefan Thanks alot, works like a charm 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