|
Random
Mar 13, 2002 2:32:11 GMT
Post by rzrdemon@aol.com on Mar 13, 2002 2:32:11 GMT
OK, I'm doing a program, and I'm trying to make a random numer, but it won't work! I put LET WHATEVER = RANDOM(1 TO 50) Then I tried LET WHATEVER = RANDOM(1, 50) And nothing worked! What do I need to do? I'll probably never come back here so PLEASE e-mail me the answer at: rzrdemon@aol.com
|
|
|
Random
Mar 13, 2002 14:52:03 GMT
Post by will@chezcrowe.com on Mar 13, 2002 14:52:03 GMT
You want
LET WHATEVER = INT(RND * 50) + 1
To create better random numbers, see with the system clock like so:
RANDOMIZE TIMER WHATEVER = INT(RND * 50) + 1
|
|
jamppa
Junior Member
DarkAges rules!!!
Posts: 53
|
Random
Mar 13, 2002 15:42:56 GMT
Post by jamppa on Mar 13, 2002 15:42:56 GMT
can't you read? "I'll probably never come back here so PLEASE e-mail me the answer"
|
|