ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



append(n)                                   Tcl Built-In Commands                                  append(n)



____________________________________________________________________________________________________________

NAME
       append - Append to variable

SYNOPSIS
       append varName ?value value value ...?
____________________________________________________________________________________________________________


DESCRIPTION
       Append  all  of  the  value  arguments  to the current value of variable varName.  If varName doesn't
       exist, it is given a value equal to the concatenation of all the value arguments.  The result of this
       command is the new value stored in variable varName.  This command provides an efficient way to build
       up long variables incrementally.  For example, ``append a $b'' is much more efficient  than  ``set  a
       $a$b'' if $a is long.


SEE ALSO
       concat(n), lappend(n)


KEYWORDS
       append, variable



Tcl                                                                                                append(n)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.