You are here: Surpac Concepts > Macros > TCL > TCL Commands > A - E > append
GEOVIA Surpac

append

NAME

append - Append to variable

SYNOPSIS

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

KEYWORDS

append, variable

Copyright © 1993 The Regents of the University of California.Copyright © 1994-1996 Sun Microsystems, Inc.Copyright © 1995-1997 Roger E. Critchlow Jr.