RandomizeList()

Syntax

RandomizeList(List() [, Start, End])
Description
Reorders the elements of the given list in a random order.

Parameters

List() The list to randomize.
Start, End (optional) The index of the first and last element in the list that should be randomized. If these parameters are not specified, then the whole list is randomized.
The first list element is at position 0, the next at 1 and so on.

Return value

None.

Remarks

This function uses the pseudorandom number generator of the Random() function to determine the new order of the list elements. It is therefore dependent on the current RandomSeed().

See Also

SortList(), SortStructuredList(), RandomizeArray(), Random(), RandomSeed()

Supported OS

All

<- RandomizeArray() - Sort Index - SortArray() ->