garlic Blog
GaRLiC=Gambas Raw Lines of Code, a Gambas2 code library for use in SMB
Status: Beta
Brought to you by:
cybr
Make an array with random sequence of given range of 1 to maxnumbers.
At start the maximum number must be given, e.g. 10.
The array is filled with random numbers out of 1-10, none comes double, and zero is avoided.
By sequentially reading all the numbers from the array, you get "random" order the numbers from the range 1-10