Computer Science Canada

counted loops (for loops)

Author:  dragonboy456 [ Sat Mar 07, 2015 3:10 pm ]
Post subject:  counted loops (for loops)

How do you make a numbers countdown on one line separated by spaces?

for decreasing i : 10 .. 1
delay (100)
put i ..
end for

that's all i have so far. It counts down on one line but it doesn't have spaces

Author:  Insectoid [ Sun Mar 08, 2015 11:14 am ]
Post subject:  RE:counted loops (for loops)

You can add a space by using another put command immediately after 'put I..'. Note that a space is just a character and you can treat it as any other character or string.


: