TURTLENAMES (TNAMES)
Syntax TURTLENAMES 
TNAMES
 
Explanation

TURTLENAMES reports a list of the names of all available turtles. A turtle with no name is represented by the empty list. A turtle name is assigned a name using SETTURTLENAME. To see the name of the current turtle, use TURTLENAME.

Turtle names can be used as input to TELL.

Examples SETTURTLES 4 
SETTURTLENAME 1 "ONE 
SETTURTLENAME 2 "TWO 
TELL [0 1 2 3] 
TURTLENAME 
Result: TURTLE.0 
TURTLENAMES 
Result: [TURTLE.0 ONE TWO TURTLE.3]

TopIndex