The append action statement appends one or more values to the
existing contents of a string variable. You cannot append values
to an array element.
In the following example, Citylist contains the names of cities, each followed by a blank ("N.Y. L.A. Chicago "); the variable MA contains two city names ("Boston Springfield "); and the variable FL contains a single city name ("Miami ").
response to ...
append MA FL to Citylist
After ESL executes the append statement, the contents of the variables MA and FL are appended to the existing contents of the variable named Citylist. The new value of Citylist is:
"N.Y. L.A. Chicago Boston Springfield Miami "
You can append selected text from a textual region to a variable using the append statement. See Textual Regions for information on appending text.