Skip to main content

#APPEND

#APPEND( symbol, expression );

symbolThe name of a previously declared user-defined symbol.
expressionThe string expression specifying the string to concatenate to the existing symbol contents.

The #APPEND statement adds the value of the expression to the end of the existing string contents of the symbol.

Example:

  #DECLARE(MySymbol);         //declare a symbol named "MySymbol"
  #SET(MySymbol,'Hello');     //initialize MySymbol to "Hello"
  #APPEND(MySymbol,' World'); //make MySymbol's value "Hello World"

See Also: #DECLARE, #SET