User Tools

Site Tools


modding:function:shuffle

shuffle

shuffle

shuffle

Syntax (shuffle list)
Arguments list: The list you want to put in random order.
Returns list: A list containing the same elements as the passed in list but in a random order.
Category 0.99, list, random
Description Makes a new list based on the passed in lists elements ordered randomly.

Example

(shuffle '(a b c d e))

Can return the list (c d e b a) Return to Functions list

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