HOW DO I USE THE WHILE WEND LOOP?

BWAHAH!


Comments

  • While Condition


    -- code to execute --


    Wend


    Condition being any variable or other condition.


    If you are waiting for a certain time before continuing, you can use:


    While Time$ <> YourTime

    Wend


    This would make it loop until YourTime equals the time.


    While x < 400

    x=x+1

    Wend


    Loops until x is not less than 400.


    Basically, it's the same as a Do-Loop. I don't know if there's an advantage to either.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories