counted loops (for loops)
Author |
Message |
dragonboy456
|
Posted: 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 |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Insectoid
![](http://compsci.ca/v3/uploads/user_avatars/13760332514cbd0ce972eaa.jpg)
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
|
|