PickBASIC / FlashBASIC

do clause

.md

The optional do clause is used with the loop statement.

Example(s)

do separates the loop test from the body run after it

total = 0
n = 0
loop
   n = n + 1
while n <= 5 do
   total = total + n
repeat
print "sum 1 to 5 = " : total   ;* sum 1 to 5 = 15

See also

Referenced by