List of all turtles

all

Returns the list of all turtles currently existing in program.

Example:

"t := (newturtles 3)
print all
foreach "i all [print who @ :i]

Output:

[t3 t1 t2 first]
t3
t1
t2
first

See also:

Turtle - object

Table of Content