Loops/Downward for: Difference between revisions

Added Chipmunk Basic, MSX Basic and Quite BASIC
(Loops/Downward for in Dart)
(Added Chipmunk Basic, MSX Basic and Quite BASIC)
Line 609:
20 PRINT I
30 NEXT</syntaxhighlight>
 
==={{header|Chipmunk Basic}}===
The [[#GW-BASIC|GW-BASIC]] solution works without any changes.
 
==={{header|FBSL}}===
Line 617 ⟶ 620:
NEXT
 
PAUSE</syntaxhighlight>
</syntaxhighlight>
 
==={{header|FreeBASIC}}===
Line 629 ⟶ 631:
Sleep</syntaxhighlight>
{{out}}
<pre> 10 9 8 7 6 5 4 3 2 1 0</pre>
<pre>
10 9 8 7 6 5 4 3 2 1 0
</pre>
 
==={{header|FutureBasic}}===
Line 643:
next
 
HandleEvents</syntaxhighlight>
</syntaxhighlight>
Output:
<pre> 10
10
9
8
Line 657 ⟶ 655:
2
1
0</pre>
</pre>
 
==={{header|Gambas}}===
Line 671 ⟶ 668:
End</syntaxhighlight>
Output:
<pre>10 9 8 7 6 5 4 3 2 1 0</pre>
<pre>
10 9 8 7 6 5 4 3 2 1 0
</pre>
 
==={{header|GW-BASIC}}===
{{works with|BASICA}}
{{works with|PC-BASIC|any}}
<syntaxhighlight lang="gwbasic">10 FOR I% = 10 TO 0 STEP -1
10 FOR I% = 10 TO 0 STEP -1
20 PRINT I%
30 NEXT I%</syntaxhighlight>
</syntaxhighlight>
 
==={{header|IS-BASIC}}===
Line 692 ⟶ 685:
{{works with|Just BASIC}}
{{works with|Run BASIC}}
<syntaxhighlight lang="lb">for i = 10 to 0 step -1
for i = 10 to 0 step -1
print i
next i
Line 703 ⟶ 695:
TextWindow.WriteLine(i)
EndFor</syntaxhighlight>
 
==={{header|MSX Basic}}===
The [[#GW-BASIC|GW-BASIC]] solution works without any changes.
 
==={{header|NS-HUBASIC}}===
Line 724 ⟶ 719:
print i
next i</syntaxhighlight>
 
==={{header|Quite BASIC}}===
The [[#GW-BASIC|GW-BASIC]] solution works without any changes.
 
==={{header|Run BASIC}}===
Line 734 ⟶ 732:
 
==={{header|TI-83 BASIC}}===
<syntaxhighlight lang="ti83b">:For(I,10,0,-1
:For(I,10,0,-1
:Disp I
:End</syntaxhighlight>
:End
</syntaxhighlight>
 
==={{header|TI-89 BASIC}}===
2,122

edits