RandomizeArray()

语法

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

参数

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.

返回值

无.

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().

参阅

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

已支持操作系统

所有

Sort Index - RandomizeList() ->