Sign in to follow this  
Followers 0
Fluiquid

a loop in a function

3 posts in this topic

i made a loop in a function, and i'm trying to make a button which exits the loop.

the exit loop function works, but not when its looping inside a function.

is there any way to exit a loop inside a function using a button?

Share this post


Link to post
Share on other sites



Look at this functions

AdlibEnable( Func [, Time ] )
AdlibDisable()

Try to figure it out with them :D


--------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

its cause its still in a function, and disables the GUI untill it reaches EndFunc, which it never does cause the buttons to end the function don't work, cause its looping in a function.

Any way i can make it work without autoit disabling the main code, so i can end this paradox.

Edit, i solved the problem

i made the while loop outside of the Func, and just made the Func enable the loop =)

Edited by Fluiquid

Share this post


Link to post
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
Sign in to follow this  
Followers 0