Loops/Downward for: Difference between revisions

Content added Content deleted
(Loops/Downward for in Tiny BASIC)
mNo edit summary
Line 491: Line 491:
==={{header|FutureBasic}}===
==={{header|FutureBasic}}===
<lang futurebasic>
<lang futurebasic>
window 1, @"Countdown", ( 0, 0, 400, 300 )
include "ConsoleWindow"


NSInteger i
dim as long i


for i = 10 to 0 step -1
for i = 10 to 0 step -1
print i
print i
next
next

HandleEvents
</lang>
</lang>
Output:
Output: