2 '\" Copyright (c) 1993 The Regents of the University of California.
3 '\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
5 '\" See the file "license.terms" for information on usage and redistribution
6 '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
11 .TH append n "" Tcl "Tcl Built-In Commands"
13 '\" Note: do not modify the .SH NAME line immediately below!
15 append \- Append to variable
17 \fBappend \fIvarName \fR?\fIvalue value value ...\fR?
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.