Manpages

Manpage of append

append

Section: Tcl Built-In Commands (n)
Updated:
Index
Return to Main Contents



 

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. 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


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
KEYWORDS

This document was created by man2html, using the manual pages.
Time: 01:17:12 GMT, April 18, 2024