MKNV Posted January 27, 2008 Share Posted January 27, 2008 I want to get an output of z22222z22222z2222......etc. With this program but it's not working, why? while 1<=2 Send("{z}") Send("{2}") Send("{2}") Send("{2}") Send("{2}") Send("{2}") Send("{2}") Send("{2}") WEnd Link to comment Share on other sites More sharing options...
erezlevi Posted January 27, 2008 Share Posted January 27, 2008 I want to get an output of z22222z22222z2222......etc. With this program but it's not working, why?while 1<=2Send("{z}")Send("{2}")Send("{2}")Send("{2}")Send("{2}")Send("{2}")Send("{2}")Send("{2}")WEndworks for me.... this is the output:z2222222z2222222z2222222z2222222z2222222z2222222z2222222z2222222z2222222z2222222z2222222z2222222z2222222z2222222z2222222z2222222z2 Link to comment Share on other sites More sharing options...
MKNV Posted January 27, 2008 Author Share Posted January 27, 2008 Ah.... It was blocked by an other program. Thanks Link to comment Share on other sites More sharing options...
erezlevi Posted January 27, 2008 Share Posted January 27, 2008 Ah....It was blocked by an other program.Thanks Nice while statement! Link to comment Share on other sites More sharing options...
Squirrely1 Posted January 27, 2008 Share Posted January 27, 2008 (edited) You both have this all wrong - $Queen_Elizabeth = 666 $a_megalomaniac = 667 While $Queen_Elizabeth < $a_megalomaniac Send("z22222") Sleep(28) WEnd Edited January 27, 2008 by Squirrely1 Das Häschen benutzt Radar Link to comment Share on other sites More sharing options...
weaponx Posted January 27, 2008 Share Posted January 27, 2008 This makes no sense to me...this loop will run forever. while 1<=2 Send("{z}") Send("{2}") Send("{2}") Send("{2}") Send("{2}") Send("{2}") Send("{2}") Send("{2}") WEnd Same thing as: while 1 Send("{z}") Send("{2}") Send("{2}") Send("{2}") Send("{2}") Send("{2}") Send("{2}") Send("{2}") WEnd You have no increment. 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