From the course: Learning AutoLISP & Visual LISP

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Function: append

Function: append

- [Instructor] What if we want to add two lists together? We can combine two lists together using the append function. So I'm going to append a very small list just one item. It's a value of 20. Just to make it very clear, we'll add two items in this list. Then we're going to combine it with LIST8. So obviously, the first list listed as an argument will be added first with the second list combined. Let's confirm this value. The variable LIST8 is our entire list, 10 through 15, and then we're going to combine it. We have a new list, 20 and 21, and combine it with LIST8 here. Now, it's 20 and 21. No parenthesis because we've combined them all into one list.

Contents