RandomizeArray()

Syntax

RandomizeArray(ArrayName() [, Start, End])
Description
Reorders the elements of the given array in a random order.

Parameters

ArrayName() The array to randomize.
Start, End (optional) The index of the first and last element in the array that should be randomized. If these parameters are not specified, then the whole array is randomized.

Return value

None.

Remarks

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

See Also

SortArray(), RandomizeList(), Random(), RandomSeed()

Supported OS

All

Sort Index - RandomizeList() ->