WHILE...WEND

From QB64 Wiki
Revision as of 23:54, 31 August 2009 by imported>Clippy (Created page with ''''WHILE...WEND''' loop statements are used to repeat code or return to the start of a procedure. * WHILE requires a conditional operation in the statement. * There is no EXIT…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WHILE...WEND loop statements are used to repeat code or return to the start of a procedure.


  • WHILE requires a conditional operation in the statement.
  • There is no EXIT WHILE or WEND statement.
  • DO...LOOP statements allow more options including a WHILE condition.
  • WHILE loops only run if the WHILE condition is True.


Example: Clearing the keyboard buffer


WHILE INKEY$ <> "": WEND



Navigation:

Go to Keyword Reference - Alphabetical

Go to Keyword Reference - By usage