11-05-2005, 07:08 AM
phycowelder,
Your code has several statements that look like this:That's not going to work. For random numbers from 1 to 54, you should have:
But don't worry, lots of people get this mixed up.
*****
Your code has several statements that look like this:
Code:
ii = INT(RND(1) * 54 + 1)
Code:
ii = INT(RND*(54 - 1 + 1)) + 1
which becomes:
ii = INT(RND*(54)) + 1
But don't worry, lots of people get this mixed up.
*****