DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

linsert(TCL)


linsert -- insert elements into a list

Syntax

linsert list index element [element element ...]

Description

This command produces a new list from list by inserting all of the element arguments into list, after index elements of the current list. Each element argument will become a separate element of the new list. If index is less than or equal to zero, then the new elements are inserted at the beginning of the list. If index has the value end, or if it is greater than or equal to the number of elements in the list, then the new elements are appended to the list.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003