Append Function Example

Details

Action

A MathScript Function that appends a sequence of lists together.

Enter the following commands on a command line to see the behavior of append.

make list1 list(1,2,3)

make list2 list(4,5,6)

make list3 list(7,8,9)

make comlist append(list1,list2,list3)

returns the list (1 2 3 4 5 6 7 8 9)