Re: Random number generator without duplicates?
Re: Random number generator without duplicates?
- Subject: Re: Random number generator without duplicates?
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 17 Apr 2001 13:03:02 -0700
On 4/17/01 12:24 PM, I wrote:
>
Chris Nebel has mentioned bugs with 'random number ' (which is on osax in
>
Scripting Additions, before. I can't remember the current state of
>
affairs, built that's why i generated a list of numbers 1 thru 546, then
>
use the 'some' operator on it. No bugs I think. Super-fast, even first
>
time when it has to generate the list.
>
>
Bryan, I'd appreciate if you'd test in the same way on the script I sent
>
using 'some'.
Lots of typos, sorry. That should have read:
Chris Nebel has mentioned bugs with 'random number' (which is on osax in
Scripting Additions), before. I can't remember the current state of affairs,
built that's why i generated a list of numbers 1 thru 56, then used the
'some' operator on it. No bugs I think. Super-fast (no osax call), even the
first time when it has to generate the list.
Bryan, I'd appreciate if you'd test in the same way on the script I sent
using 'some'.
--
Paul Berkowitz