Please enable JavaScript to view this site.

DO {WHILE or UNTIL condition}

     <statements>

     {if <condition> REPEAT}

     {if <condition> EXIT}

     {<statements>}

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: BASICplus at the source level; requires /X:1 or higher.

Created with Help+Manual 9 and styled with Premium Pack Version 5 © by EC Software