RandomizeArray()

Syntaxe

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

Arguments

ArrayName() Specifies the array to randomize.
Start, End (optional) Specifies 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.

Valeur de retour

This function has no return value.

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(), SortStructuredArray(), RandomizeList(), Random(), RandomSeed()

OS Supportés

Tous

Sort Index - RandomizeList() ->