URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [insight/] [tcl/] [doc/] [append.n] - Blame information for rev 1765
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: append.n,v 1.1.1.1 2002-01-16 10:25:24 markom Exp $
|
9 |
|
|
'\"
|
10 |
|
|
.so man.macros
|
11 |
|
|
.TH append n "" Tcl "Tcl Built-In Commands"
|
12 |
|
|
.BS
|
13 |
|
|
'\" Note: do not modify the .SH NAME line immediately below!
|
14 |
|
|
.SH NAME
|
15 |
|
|
append \- Append to variable
|
16 |
|
|
.SH SYNOPSIS
|
17 |
|
|
\fBappend \fIvarName \fR?\fIvalue value value ...\fR?
|
18 |
|
|
.BE
|
19 |
|
|
|
20 |
|
|
.SH DESCRIPTION
|
21 |
|
|
.PP
|
22 |
|
|
Append all of the \fIvalue\fR arguments to the current value
|
23 |
|
|
of variable \fIvarName\fR. If \fIvarName\fR doesn't exist,
|
24 |
|
|
it is given a value equal to the concatenation of all the
|
25 |
|
|
\fIvalue\fR arguments.
|
26 |
|
|
This command provides an efficient way to build up long
|
27 |
|
|
variables incrementally.
|
28 |
|
|
For example, ``\fBappend a $b\fR'' is much more efficient than
|
29 |
|
|
``\fBset a $a$b\fR'' if \fB$a\fR is long.
|
30 |
|
|
|
31 |
|
|
.SH KEYWORDS
|
32 |
|
|
append, variable
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.