Purpose: discuss linsert ---- http://www.purl.org/tcl/home/man/tcl8.4/TclCmd/vwait.htm ---- ---- A user asked why linsert $list 0 .. did not result in .. being inserted into list. Jesper Blommaskog (d9jesper@dtek.chalmers.se) replied: When doing list operations other than lappend, you must save the returned value. This applies to list, lindex, lrange, and lreplace at least. In this example, you would perhaps want to do something like: set list [ linsert $list 0 .. ] See also [list], [lappend], [linsert], [llength], [lrange], [lreplace], [lsearch], [lsort] . ---- [Tcl syntax help] - [Arts and crafts of Tcl-Tk programming] - [Category Command]