Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel
Table of Contents

Anchor
1153125
1153125
Syntax

Wiki Markup
*appenddata* _data\_element\_name_ \[_value\_1_\]... \[_value\_n_\]

Anchor
1153127
1153127
Description

Anchor
1153128
1153128
The appenddata command appends a line of text to the end of an existing data element or, if that data element does not exist, creates a data element containing that line of text.

Anchor
1153129
1153129
The data_element_name parameter specifies the name of a data element.

Anchor
1153130
1153130
The value_ parameters, which specify the text to be appended, are concatenated.

Anchor
1153131
1153131
Variable references and expressions in these parameters are resolved, as with any other command, before assembling the line (with no spaces between each value) and appending it to the data element.

Anchor
1153132
1153132
Parameters

Anchor
1153150
1153150

Parameter

Description

data_element_name

Name of a data element.

value_1

First value in the line of text to be appended.

value_n

Last value in the line of text to be appended.

Anchor
1153152
1153152
Examples

Anchor
1153153
1153153
To append The answer to 1 + 1 is 2 to the data element mydata:

Panel
appenddata mydata "The answer to 1 + 1 is " <1 + 1>


Anchor
1153155
1153155
To append SingleSystemImage to the data element mydata:

Panel
appenddata mydata Single System Image