Jump to content
Sign in to follow this  
MKNV

Simple program

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

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

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  

×
×
  • Create New...