> From: Stringer [mailto:[EMAIL PROTECTED]] > >From: Johnathan Smith <[EMAIL PROTECTED]> > >Can someone please show me how to make a random number > >from 1 to 15 > > 6
Yup - it's a good one! SysRandom will generate a random number - simply modulus it with upperbound+1 to get a number in your range. (SysRandom(seed)%15)+1 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
