Seth Woolley's Man Viewer

append(n) - append, append - Append to variable - man n append

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

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 var-
       Name.  If varName doesn't exist, it is given a value equal to the  con-
       catenation  of  all the value arguments.  The result of this command is
       the new value stored in(1,8) 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(7,n,1 builtins) a  $a$b''  if(3,n)  $a  is
       long.


SEE ALSO
       concat(n), lappend(n)


KEYWORDS
       append, variable



Tcl                                                                  append(n)

References for this manual (incoming links)