Functions Documentation |
|
Name |
lnkAppend |
Syntax |
(lnkAppend list item) -> list |
Argument List |
list: the list you want to append the expression to, as the last element.
item: The expression you want to append as the last element of the list. |
Returns |
list; A list consisting of the first argument with the last argument appended to it. |
Category |
list
|
Description |
Makes a new list made up of elements of the list then the expression and returns it. |
Example |
(lnkAppend '(a b c) 2)
Returns the list (a b c 2) |
Comment |
Very helpful in building lists in iteration functions.
Cannot take Nil as a list - only preexisting lists will do, so pass (list firstElement) instead of Nil. |