Editors Note: Nil issue was resolved in 1.06. Trac ticket here: http://wiki.neurohack.com/transcendence/trac/ticket/79<br />
|Syntax||(lnkRemove list index) -> list|
|Argument List||list: The list you want to remove the element at `index' from.
index: the position of the element you want to remove, counting from 0.
|Returns||A new list without the element found at `index'.|
|Description||Removes the element at index and returns the resultant list.|
(lnkRemove '(a b c d) 2 )
Returns the list (a b d)
|Comment||Another useful list function for the manipulation of lists and their elements.
This function CANNOT take itself as an argument, ie no (lnkRemove (lnkRemove list index) index2). This means removing multiple elements from a list requires multiple (setq (lnkRemove list index)) statements, one for every element to be removed.