Skip to content

Append to variable (text_append)

What it does: Appends text to the end of an existing text variable and stores the result back.

text_append

Inputs

  • Setting block VAR: target text variable.
  • TEXT: value to be appended to the end.

Output

  • none (changes the content of the variable).

When to use it

  • Sequentially composing a log or message over time.
  • Building text inside a multipart loop.

Tips and pitfalls

  • Initialize the variable before the first append (typically to empty text).
  • In long loops, text can grow quickly and take up memory.
  • If you need a separator between items, add it explicitly.