Jump to content
Sign in to follow this  
jruelan

possible bug?

Recommended Posts

jruelan

i declared a Global $ctr variable initialized to 1 and used it inside a function. Inside this function, i made a loop incrementing the $ctr variable. After the loop, I tested the value of $ctr and the value is null or blank or empty. Could this be a bug? Because i also tried using $ctrTest variable within the same function with the loop, $ctrTest obtained the correct value while $ctr is still blank...tnx... i tested the value by having a message box inside the OnAutoItExit function. tnx very much

Edited by jruelan

Share this post


Link to post
Share on other sites
jruelan

ok, i saw in the autoit help file that using for-to-step makes the variable local, sorry my fault... tnx anyway...

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  

×