PickBASIC / FlashBASIC

repeat statement

.md

The repeat statement defines the end of a loop. See loop statement for more information.

Example(s)

A counted loop with loop / repeat

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

See also

Referenced by