|
What do you need the random number to do?
pick a record in a table, if the random number is < 1 or > the number
of records in the file, get another number and repeat until done.
Simple stuff, have seen it done many times but never needed to write
the generator interface - and is one of those things you usually just
don't ask too many questions about over the years.
The record is the winner of a real estate drawing, for example.
I am not too concerned about scrutiny as long as I apply the industry
standard rather than dream up a methodology that no one knows how it
is derived. The backdrop of my position on this topic might be
summarized in a a term we commonly see, security by obscurity. I think
obscurity is not a good idea for obtaining a random number.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.