lindex

lindex <list> <index>

This function returns a specific Efinity Tcl objects from the collection based on the specified index value. end is the index value of the last element.

# Return the index 2 objects from the collection
set element [lindex [ get_cells *~FF ] 2 ]

# Return the last element from the collection
set last [lindex [ get_cells *~FF ] end ]