Jump to content
Sign in to follow this  
Hackerr

My loop stop isnt working T-T

Recommended Posts

Hackerr

heres the code i am using

 

While 1

     If _IsPressed(11+31) Then $Stop= False
        Switch $Stop
           Case True
               ......
            Case False then ExitLoop
         EndSwitch
      WEnd

Share this post


Link to post
Share on other sites
Hackerr

could it be the "11+31"? i meant it to be control+1

Share this post


Link to post
Share on other sites
Kidney

what  the OP is doing is adding 31+11 and then looking for that character. so whatever 42 is. which is "B"

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  

×