lindex: is the name of the command $temp: is the name of the array $i: is the index of the array for example: set temp (1.2.2 1.2.3) set i 0 then lindex $temp $i is the first element of the array temp which is 1.2.2. hope this help.