WifiHero Posted June 6, 2008 Share Posted June 6, 2008 Is there a pre-built function for repeating a section of the script? I have looked through and all I have seen is a prebuilt function for repeating a single line, but not several... Link to comment Share on other sites More sharing options...
Dampe Posted June 6, 2008 Share Posted June 6, 2008 Try the autoit help file for 'while' 'for' 'do' An example to loop a set of lines 10 times Dim $count = 0 Do MsgBox (64, "Loop", "This message will appear 10 times!") ;This is the end of the loop, we have to keep count so the 'do' function knows when to stop! $count += 1 Until $count = 10 Link to comment Share on other sites More sharing options...
Intosia Posted June 6, 2008 Share Posted June 6, 2008 Whats wrong with FOR and WHILE? You can just put 1 line of code in the loop??? Change my avatar! ^^ 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