NewKid4 Posted March 3, 2017 Share Posted March 3, 2017 Hello AutoIT! I'm having an issue with my loop. In the start of the loop i set $larger = True, then if the string is triggered in middle of loop it's changed to $larger = false. The issue is, I want the string to stay false and not change back in the start of loop. Is there an easier way to do what I'm trying to do Regards NewKid! Link to comment Share on other sites More sharing options...
JohnOne Posted March 3, 2017 Share Posted March 3, 2017 Set $larger = True outside of the loop. NewKid4 1 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
gruntydatsun Posted March 3, 2017 Share Posted March 3, 2017 declare $larger = true before the loop NewKid4 1 Link to comment Share on other sites More sharing options...
NewKid4 Posted March 3, 2017 Author Share Posted March 3, 2017 (edited) alright cheers, Knew it was pretty simple, but yeah I'm pretty new to AutoIt/coding. Appreciate the quick answers John & Grunty! Cheers! Should i mark this as solved somehow Edited March 3, 2017 by NewKid4 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