Skip to content
Grisgram edited this page Dec 29, 2024 · 7 revisions

Similar to the for loop, the while is also an entry-controlled loop. It repeats until the condition is false.

Syntax

while <condition>[==true]
   // ...
next

Similar to the for loop, the while loop is also closed by a next statement.

The code inside the loop executes repeatedly until the condition evaluates to false.

Clone this wiki locally