Project Folders
Teacher Resources
Student Resources
How Do I?
Site Map
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] <

To: "MicroWorlds Forum" <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: backpack of the many turtles in the field OnClic
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Fri, 29 Jun 2012 12:01:57 -0500

On Fri, 29 Jun 2012 11:14:22 -0500, michele Baldi <micbaldi@xxxxxxxxx> wrote:

Can I put in the backpack of the many turtles in the field OnClic a
name followed by a variable value?
For example for 30 turtles
make "l [t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17
t18 t19 t20 t21 t22 t23 t24 t25 t26 t27 t28 t29 t30]
dolist list "i :l [set :i "rule [Once [Test]]]

I would like to insert a variable value after Test: 1 in the Turtle
t1, 2 in t2 etc
Is it possible?


dolist [i :l] [set :i "rule list "Once list "Test butfirst :i]]]

OpenWorld Learning

  • Previous by thread: Re: MIA, Ask an Expert: Compile

  • 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.

    © copyright 2001 - 2008