Sign in to follow this  
Followers 0
MKNV

Simple program

6 posts in this topic

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

Share this post


Link to post
Share on other sites



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

works for me.... this is the output:

z2222222z2222222z2222222z2222222z2222222z2222222z2222222z2222222z2222222z2222222z2222222z2222222z222

2222z2222222z2222222z2222222z2

Share this post


Link to post
Share on other sites

Ah....

It was blocked by an other program.

Thanks :D

Share this post


Link to post
Share on other sites

Ah....

It was blocked by an other program.

Thanks :D

Nice while statement!

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

You both have this all wrong -

$Queen_Elizabeth = 666
$a_megalomaniac = 667
While $Queen_Elizabeth < $a_megalomaniac
    Send("z22222")
    Sleep(28)
WEnd
Edited by Squirrely1

Das Häschen benutzt Radar

Share this post


Link to post
Share on other sites

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.

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