*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Tcl/lreplace (3)              
Title
Content
Arch
Section
 

Contents


lreplace(3Tcl)							lreplace(3Tcl)


NAME    [Toc]    [Back]

     lreplace -	Replace	elements in a list with	new elements

SYNOPSIS    [Toc]    [Back]

     lreplace list first last ?element element ...?

DESCRIPTION    [Toc]    [Back]

     Lreplace returns a	new list formed	by replacing one or more elements of
     list with the element arguments.  First gives the index in	list of	the
     first element to be replaced (0 refers to the first element).  If first
     is	less than zero then it refers to the first element of list;  the
     element indicated by first	must exist in the list.	 Last gives the	index
     in	list of	the last element to be replaced;  it must be greater than or
     equal to first.  First or last may	be end (or any abbreviation of it) to |
     refer to the last element of the list.  The element arguments specify
     zero or more new arguments	to be added to the list	in place of those that
     were deleted.  Each element argument will become a	separate element of
     the list.	If no element arguments	are specified, then the	elements
     between first and last are	simply deleted.

KEYWORDS    [Toc]    [Back]

     element, list, replace


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
lsort IRIX Sort the elements of a list
foreach IRIX Iterate over all elements in a list
linsert IRIX Insert elements into a list
lrange IRIX Return one or more adjacent elements from a list
lappend IRIX Append list elements onto a variable
llength IRIX Count the number of elements in a list
XmListReplaceItemsPos HP-UX A List function that replaces the specified elements in the list
XmListReplaceItems HP-UX A List function that replaces the specified elements in the list
XmListReplaceItemsPos IRIX A List function that replaces the specified elements in the list
XmListReplaceItems IRIX A List function that replaces the specified elements in the list
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service