|
-
Dec 12th, 1999, 03:41 PM
#1
How would create a random number generator between the limits of 1 and 20 for a multiple choice test??
-
Dec 12th, 1999, 04:05 PM
#2
Lively Member
Randomize Timer 'Tell the clock to randomize
x = int(rnd * 20) + 1 'now pick any number within 1 and 20
'Do not remove the "+1" part!!
-
Dec 12th, 1999, 04:42 PM
#3
Lively Member
you can check Rnd() from the vb help file it includes a formula to get a random number with a variable lower bound and upperbound.
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
|