[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating more turtles



Forgive me if this seems like a stupid question, but I have not worked with 
StarLogo very much.  I have the coding:

  if pc = black
   [stamp brown
    setc red
    get-away
    stop]

I want the turtle to create another turtle if it is blue when it goes 
through this coding.  I have tried adding commands such as sprout and hatch 
before the "stop", but I keep getting error messages.

Could you explain to me the commands for creating turtles and when they can 
be used.  What is a "list" that is needed after the sprout command?

Thank you for your help and patience with me!!

Elizabeth