Set turtle's name
setname nazwa
Gives the new name to a turtle. Notr: name of the #first
turtle cannot be changed.
Example:
to named :n
setname :n
end
repeat 3 ["t := (newturtle $named word "turtle repcount)]
print children
Output:
[turtle1 turtle2 turtle3]
See also:
Turtle -object
who - get turtle's name
Table of Content