DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


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