Skip to content

Internal List Functions

Julius Paffrath edited this page Sep 11, 2018 · 1 revision

list(VAR1:VAR2...)

Returns a new list containing the given variables as elements.

listGet(LIST:INDEX)

Returns the element at the given index of a given list.

listGetRange(LIST:START:END)

Returns the elements in the given range.

listSize(LIST)

Returns the size of a given list.

listAdd(LIST:VAR)

Returns a copy of the given list and adds the given value at the end. listAdd does not change the original list!

listSet(LIST:INDEX:VAR)

Returns a copy of the given list and sets the given element at the given index. listSet does not change the original list!

listRemove(LIST:INDEX)

Returns a copy of the given list and removes the element at the given index. listRemove does not change the original list!

listRemoveRange(LIST:START:END)

Returns a copy of the given list and removes the elements in the given range. listRemoveRange does not change the original list!

listContains(LIST:VAR)

Returns TRUE if the given list contains the given element.

listReverse(LIST)

Returns a copy of the given list and reverses the elements. listReverse does not change the original list!

listExtend(LIST:LIST)

Returns a copy of the given list and extends it with the given list. listExtend does not change the original list!

listFromString(STRING)

Returns a new list containing the characters of a given string as elements.

listToString(LIST)

Returns a new string containing the elements of a given list.

Clone this wiki locally