Loops/For with a specified step: Difference between revisions
m
→{{header|FutureBasic}}: Remove unsupported 'ConsoleWindow'
m (Fix FutureBasic alpha position) |
m (→{{header|FutureBasic}}: Remove unsupported 'ConsoleWindow') |
||
Line 1,411:
=={{header|FutureBasic}}==
<syntaxhighlight lang="futurebasic">
▲dim as Str15 s(11)
▲dim as long i
s(0) = "Somewhere"
Line 1,425 ⟶ 1,423:
for i = 0 to 10 step 2
print s(i);
next
next</syntaxhighlight>▼
HandleEvents
{{out}}
<pre>Somewhere over the rainbow
Bluebirds fly.</pre>
=={{header|GML}}==
<syntaxhighlight lang="gml">for(i = 0; i < 10; i += 2)
|