Jump to content

Simple program


MKNV
 Share

Recommended Posts

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

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

Link to comment
Share on other sites

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

Link to comment
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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...