Sign in to follow this  
Followers 0
Xonos

Looping

3 posts in this topic




behold

dim const $a=1

while $a=1
   <your code here>
wend

i heard you can shorten while$a=1 to while 1, but it never worked for me.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

...i heard you can shorten while$a=1 to while 1, but it never worked for me.

The code,

While 1
;...
WEnd
works on god-forsaken computers only as long as god permits.

One easy way to start your script over from the very beginning is by starting a new instance of it and then immediately exiting the old instance, but AutoIt no longer has the batch command "GOTO" because it makes for sloppy coding technique.

Edited by Squirrely1

Das Häschen benutzt Radar

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