кольцо для петли
# print numbers from 1 to 10
for x = 1 to 10 see x + nl next
Joker
# print numbers from 1 to 10
for x = 1 to 10 see x + nl next
# print even numbers from 0 to 10
for x = 0 to 10 step 2
see x + nl
next
for identifier=expression to expression [step expression]
Block of statements
next
# Dynamic loop
See "Start : " give nStart
See "End : " give nEnd
See "Step : " give nStep
For x = nStart to nEnd Step nStep
see x + nl
Next
# print even numbers from 10 to 0
for x = 10 to 0 step -2
see x + nl
next
aList = 1:10 # create list contains numbers from 1 to 10
for x in aList see x + nl next # print numbers from 1 to 10