WHILE...LOOP
 
Syntax

[DO] WHILEcondition
    [statements]
LOOP
Description


WHILE [...] LOOP will repeat the statements between WHILE and LOOP, while the condition is true.

If the condition isn't true when the WHILE statement begins, none of the statements will be run.

The DO is optional in ARMbasic.

Example

WHILE x = 0
        x = 1
LOOP

Differences from other BASICs


See also