OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [insight/] [tcl/] [doc/] [linsert.n] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
'\"
2
'\" Copyright (c) 1993 The Regents of the University of California.
3
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
4
'\"
5
'\" See the file "license.terms" for information on usage and redistribution
6
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
7
'\"
8
'\" RCS: @(#) $Id: linsert.n,v 1.1.1.1 2002-01-16 10:25:24 markom Exp $
9
'\"
10
.so man.macros
11
.TH linsert n 7.4 Tcl "Tcl Built-In Commands"
12
.BS
13
'\" Note:  do not modify the .SH NAME line immediately below!
14
.SH NAME
15
linsert \- Insert elements into a list
16
.SH SYNOPSIS
17
\fBlinsert \fIlist index element \fR?\fIelement element ...\fR?
18
.BE
19
 
20
.SH DESCRIPTION
21
.PP
22
This command produces a new list from \fIlist\fR by inserting all
23
of the \fIelement\fR arguments just before the \fIindex\fRth
24
element of \fIlist\fR.  Each \fIelement\fR argument will become
25
a separate element of the new list.  If \fIindex\fR is less than
26
or equal to zero, then the new elements are inserted at the
27
beginning of the list.  If \fIindex\fR
28
has the value \fBend\fR,
29
or if it is greater than or equal to the number of elements in the list,
30
then the new elements are appended to the list.
31
 
32
.SH KEYWORDS
33
element, insert, list

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.