realbasic-nug
[Top] [All Lists]

Re: AW: Checking array for double entries

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: AW: Checking array for double entries
From: Tom Benson <tombenson@mac.com>
Date: Sun, 29 Jun 2008 14:04:26 +1000
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <129126.60162.qm@web28006.mail.ukl.yahoo.com>
References: <129126.60162.qm@web28006.mail.ukl.yahoo.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
There are degrees of randomness, but with such a limited working set I don't think you are going to see much of a difference.

If it bothers you, shuffle the array two or three times.

- Tom

On 29/06/2008, at 9:39 AM, tobieichner77-rb@yahoo.de wrote:

Put the values 1 to 70 into an array.

Scramble the array, then take the first 6 off the stack...

Would
this (guess you refer to array.shuffle) as random as using the random
class or is there a less stronger randomization engine used ?

Tobias.


     __________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • Re: AW: Checking array for double entries, Tom Benson <=