User Tools

Site Tools


modding:function:list

Discuss this page on this page's Talk Page

list

list

Syntax (list i1 [i2 … in]) → list
Arguments i1: expression you want to be an element of the list.
i2 … in: (Optional) Expressions you want to be elements of the list
Returns list: A list of all the expressions passed as arguments.

list |

Description Makes a list of the expressions in the order of the arguments.

Example

(list 1 2 3 4)

Returns the list (1 2 3 4)

(block (vari)
	(setq vari 5)
	(list vari "list")
	)

Returns the list (5 list)

Return to Functions list

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