webCOMAND

#APPEND

Syntax

#APPEND(Variable) ... #ENDAPPEND

Parameters

  • Variable - Any information inside of the #APPEND block is added to the end of the specified variable, which should include the preceding $.
  • Separator - Optional separator string to appended between existing text in the variable and the new text, if there is existing text.

Description

Appends (adds) text placed in the #APPEND block to the end of the Variable's existing contents.  Unlike #ASSIGN, the initial value held by the variable is not replaced.

This statement does not produce output.

Example

#ASSIGN($Message,"This is")
#APPEND($Message) the end of a sentence.#ENDAPPEND
$Message

Result

This is the end of a sentence.