User Tools

Site Tools


modding:function:lnkremove

Discuss this page on this page's Talk Page

lnkRemove

See lnkRemove at Xelerus

Syntax (lnkRemove list index Nil) → list
Arguments 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.
Nil: this is a bug, but must be present. It has no effect on the function. The only reasonable value to pass is Nil.
Returns A new list without the element found at `index'.
Category list
Description Removes the element at index and returns the resultant list.

Example

(lnkRemove '(a b c d) 2 Nil)

Returns the list (a b d)

Return to Functions list

modding/function/lnkremove.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1