Jump to content

While 1, ... WEnd


Recommended Posts

Can someone describe the function of:

While 1
 ...
WEnd

?

I looked at the documentation and don't find anything.

don't think i'm a freeloader. your help has been effective! here's the script contributed - thank you creator and thank you members and thank you authors of autoit!Call Conference Dial-in Script updated from time to time.

Link to comment
Share on other sites

While 1 is equal to 1 the code between will be ran in a loop, unless told to exit or an error occurs which causes the loop to end.

Like this?

While 1
    If 1 Then ExitLoop
WEnd

Or this?

While 1
    If 2 Then ExitLoop
WEnd

What will happen in each case? Don't run the code, and don't cheat. ;)

Edited by trancexx

♡♡♡

.

eMyvnE

Link to comment
Share on other sites

Like this?

While 1
    If 1 Then ExitLoop
WEnd

Or this?

While 1
    If 2 Then ExitLoop
WEnd

What will happen in each case? Don't run the code, and don't cheat. :)

I'd hazard a guess that they would both exit the loop imediately ;)

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

I swear on the holy mother I checked to see if I already posted this question Re: While 1, Wend;

before I fell asleep at the terminal last night.

Checked the option to see my own posts, or so I thought...

Thanks for the replies!

Edited by scriptstopper

don't think i'm a freeloader. your help has been effective! here's the script contributed - thank you creator and thank you members and thank you authors of autoit!Call Conference Dial-in Script updated from time to time.

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...