Claude Schneegans wrote:
>  >>this was a quiz question on cf weekly
> 
> Then, if it was a quiz question, the quiz is dummy, because true "random 
> number with no duplicates"
> cannot exist ;-)
> 

That's not true. You can have true random numbers without duplicates. 
Each successive iteration of the function just has to take place over a 
set that does not include the values chosen previously. Redefining the 
set your function acts on each iteration is most certainly 
mathematically valid.

Now generating true randomness, well, that's a much more difficult 
topic. For more on random numbers (and a source of random numbers) check 
out: http://www.random.org/

Judah


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284676
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to