how to choose random namber form loop?
Hi
Either
generate a collection of N non-duplicate random numbers and loop that
collection
or
remember each used random number and check if it has been used previously
before using it.
There are probably other approaches as well.
HTH. Best wishes Harald
"pm" skrev i melding ...
hello,
i have simple loop
For i = 1 to 100
call something
Next i
and i'd like to run this loop on 20 random "i" numbers without repetition
eg: 74, 3, 32, 1, 2, 15, 92, 22, and so on...
how can it be worked out?
rgs
|