⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linsert.n

📁 tcl是工具命令语言
💻 N
字号:
'\"'\" Copyright (c) 1993 The Regents of the University of California.'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.'\" Copyright (c) 2001 Kevin B. Kenny.  All rights reserved.'\"'\" See the file "license.terms" for information on usage and redistribution'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.'\" '\" RCS: @(#) $Id: linsert.n,v 1.7 2001/11/14 23:38:39 hobbs Exp $'\" .so man.macros.TH linsert n 8.2 Tcl "Tcl Built-In Commands".BS'\" Note:  do not modify the .SH NAME line immediately below!.SH NAMElinsert \- Insert elements into a list.SH SYNOPSIS\fBlinsert \fIlist index element \fR?\fIelement element ...\fR?.BE.SH DESCRIPTION.PPThis command produces a new list from \fIlist\fR by inserting all of the\fIelement\fR arguments just before the \fIindex\fRth element of\fIlist\fR.  Each \fIelement\fR argument will become a separate element ofthe new list.  If \fIindex\fR is less than or equal to zero, then the newelements are inserted at the beginning of the list.  If \fIindex\fR has thevalue \fBend\fR, or if it is greater than or equal to the number ofelements in the list, then the new elements are appended to the list.\fBend\-\fIinteger\fR refers to the last element in the list minus thespecified integer offset..SH "SEE ALSO".VS 8.4list(n), lappend(n), lindex(n), llength(n), lsearch(n), lset(n), lsort(n), lrange(n), lreplace(n).VE.SH KEYWORDSelement, insert, list

⌨️ 快捷键说明

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