× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.
And the reason I mentioned "DB randomizing" functionality is that all
platforms will have a DB with some sort of random number function.
Ideally, the same standardized function call. I found my test results
totally predicatble on at least one platform.

The requirements are simple:
-Needs to be able to work in iSeries and WIN model and preferably any
unix type implementation.
-can be documented

Method of deriving is important, language is not and unless "C" or "OS
/ API call" per platform, it will be converted. It is common for me to
utilize code that first determines what platform it is currently on
before calling the API, so this is expected.
After reading some of the emails & links, this seemingly would be
easier if two contest managers signed off on a "air blown" ball....but
you could need half a million uniquely numbered balls. Uggh.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.