PUSH - TO statement is used to add elements to a LIST. When you push an element to a LIST it is appended at the end of the list.
PUSH <NUMBER-VAR or NUMBER> TO <NUMBER-LIST>PUSH <TEXT-VAR or TEXT> TO <TEXT-LIST>
DATA:foo IS TEXT LISTPROCEDURE:PUSH "First index" TO fooPUSH "Second index" TO foo
In the above example,
foo now contains the value
"First index" at index
0 and the value
"Second index" at index