-Q9R- get items inserted into a list?

From: -X-  How, in Tk, can I XXX:

A9R.  A user asked why

	linsert $list 0 ..

did not result in .. being inserted into list.

d9jesper@dtek.chalmers.se (Jesper Blommaskog) replied:

When doing list operations other than lappend, you must save the
returned value. This applies to list, lindex, lrange, lreplace at
least.

In this example, you would perhaps want to do something like:

	set list [ linsert $list 0 .. ] 
Go Back Up

Go To Previous

Go To Next