|
-
May 31st, 2000, 02:45 AM
#1
I need to create a specific number of random numbers within a number range.
For example, I need 15 random numbers out of the number range of 1 through 100. These 15 numbers can not be duplicates.
Since the number range will always start with one, I wouldn't need to pass that number.
So I am looking for a function like this:
getrandomnumbers(intAmount, intRange)
then have the random numbers put in a variable array
Anyone have some code that I could adapt to my project easily? I know, I don't ask for much huh? lol
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|