For
Table of Contents

Repeats a series of statements in a loop.

Syntax

Can be used like in C:

.for i=0, i<10, ++i
    .echoln i, "..."
.loop

.echoln "Blast off!"

Or like in BASIC:

.for i is 10 to 1
    .echoln i, "..."
.loop

.echoln "Blast off!"

See Also

repeat-rept
while

Unless otherwise stated, the content of this page is licensed under GNU Free Documentation License.