lindex.n

来自「linux系统下的音频通信」· N 代码 · 共 36 行

N
36
字号
'\"'\" Copyright (c) 1993 The Regents of the University of California.'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.'\"'\" See the file "license.terms" for information on usage and redistribution'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.'\" '\" SCCS: @(#) lindex.n 1.8 96/08/26 13:00:02'\" .so man.macros.TH lindex n 7.4 Tcl "Tcl Built-In Commands".BS'\" Note:  do not modify the .SH NAME line immediately below!.SH NAMElindex \- Retrieve an element from a list.SH SYNOPSIS\fBlindex \fIlist index\fR.BE.SH DESCRIPTION.PPThis command treats \fIlist\fR as a Tcl list and returns the\fIindex\fR'th element from it (0 refers to the first element of the list).In extracting the element, \fIlindex\fR observes the same rulesconcerning braces and quotes and backslashes as the Tcl commandinterpreter; however, variablesubstitution and command substitution do not occur.If \fIindex\fR is negative or greater than or equal to the numberof elements in \fIvalue\fR, then an emptystring is returned.If \fIindex\fR has the value \fBend\fR, it refers to the last elementin the list..SH KEYWORDSelement, index, list

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?