Previous Up Next

6.3.10  Appending an element at the end of a list

The append command adds an element to the end of a list.

Examples

append([3,4,2],1)
     
⎡
⎣
3,4,2,1⎤
⎦
          
append([1,2],[3,4])
     
⎡
⎣
1,2,⎡
⎣
3,4⎤
⎦
⎤
⎦
          

Previous Up Next