ShuffleIntArray

Declaration: ShuffleIntArray (var Data: TIntArray): integer;
The function ShuffleIntArray shuffles the values of the integer array Data.

The function returns the following error codes:

 0 .... everything OK
-1 ... the size of the Data array is less than 2