Hey!  I am trying to make a simple app for the palm and am 
trying to get the palm to return a number from 0 to 20.

So I said

Int16 choose;
int wait;
 for(wait=0;wait<10;wait++)
     choose=SysRandom(20);

But it keeps returning 6926 which I am guessing is the highest number the 
palm can randomize.  What do I need to change to get the palm to return a 
random number consistantly between 0 and 20?


                                                           Thanks!

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to