[Thread Prev] [Thread Next]
On 23 Nov 2002 at 22:46, Mike Sandy wrote:
> FOR instead of/as well as DOTIMES though if the latter is kept,
> change the initial variable value to 1 instead of 0
> - in line with REPEAT
>
Why 1 instead of 0? If you argue that the first turtle is t1,
I think the first turtle should be t0.
I like these behaviours:
dotimes [i 12] [show remainder :i 4]
0
1
2
3
0
1
2
3
0
1
2
3
dotimes [i 12] [show remainder :i 2]
0
1
0
1
0
1
0
1
0
1
0
1
cg dotimes [i 30] [
ifelse 0 = remainder :i 2 [pu] [pd]
setpos list (20 * int :i / 2) (100 - 200 * remainder :i 2)
]
Daniel
OpenWorld Learning
_______________________________________________
MWForum mailing list
MWForum@xxxxxxxxxxxxxxxxxx
http://mia.openworldlearning.org/mwforum/
Previous by thread:
Re: MicroWorlds wish list
Next by thread:
InFront does not seem to work correctly.
To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.
|