# DO / WHILE / UNTIL
> [HTML Version](dowhileuntil.htm)
__
**DO \{WHILE or UNTIL condition\}**
\{if REPEAT\}
\{if EXIT\}
\{\}
**LOOP \{WHILE or UNTIL condition\}**
For example:
DO WHILE A > B
A = A + 1
B = B \* 2
LOOP
Another example:
DO
A = A + 1
LOOP UNTIL A = 10
**Compatibility: **BASIC_plus_ at the source level; requires /X:1 or higher.