RndSample(N: Integer; M: Integer): Array;
N. Array length.
M. Quantity of numbers for sampling.
The RndSample method performs pseudorandom sampling from the array.
The value of the M parameter must not exceed the value of the N parameter.
Values of the M and N parameters must not be less than 1.
The property use is given in the example for IMath.RndPermutation.
See also: