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

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

Contents


lindex(3Tcl)							  lindex(3Tcl)


NAME    [Toc]    [Back]

     lindex - Retrieve an element from a list

SYNOPSIS    [Toc]    [Back]

     lindex list index

DESCRIPTION    [Toc]    [Back]

     This command treats list as a Tcl list and	returns	the index'th element
     from it (0	refers to the first element of the list).  In extracting the
     element, lindex observes the same rules concerning	braces and quotes and
     backslashes as the	Tcl command interpreter; however, variable
     substitution and command substitution do not occur.  If index is negative
     or	greater	than or	equal to the number of elements	in value, then an
     empty string is returned.	If index has the value end, it refers to the  |
     last element in the list.

KEYWORDS    [Toc]    [Back]

     element, index, list


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
lsearch IRIX See if a list contains a particular element
glcgetlistc IRIX return element from list
glcgetlisti IRIX return element from list
tt_spec_propname HP-UX return an element of the property name list for an object spec
tt_session_propname HP-UX returns an element of the list of property names for a session
iflListItem IRIX an element of an doubly linked list (iflList or iflMultiList)
glgetlistparametersgix IRIX retrieve display list parameters
VOP_GETACL FreeBSD retrieve access control list for a vnode
nlist NetBSD retrieve symbol table name list from an executable file
nlist OpenBSD retrieve symbol table name list from an executable file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service