1mNAME0m
       lindex - Retrieve an element from a list

1mSYNOPSIS0m
       1mlindex 4m22mlist24m 4mindex0m


1mDESCRIPTION0m
       This command treats 4mlist24m as a Tcl list and returns the 4mindex24m'th element
       from it (0 refers to the first element of the list).  In extracting the
       element,  4mlindex24m  observes  the same rules concerning braces and quotes
       and backslashes as the Tcl command interpreter; however, variable  sub-
       stitution  and command substitution do not occur.  If 4mindex24m is negative
       or greater than or equal to the number of elements in  4mvalue24m,  then  an
       empty string is returned.  If 4mindex24m has the value 1mend22m, it refers to the
       last element in the list, and 1mend-4m22minteger24m refers to the last element in
       the list minus the specified integer offset.


1mSEE ALSO0m
       list(n),  lappend(n),  linsert(n),  llength(n),  lsearch(n),  lsort(n),
       lrange(n), lreplace(n)


1mKEYWORDS0m
