You can't, you have to turn it into a smaller number yourself. Use the
modulo (%) operator (ex. <random> % 100 will return a value from 0-99).
-jjf
-----Original Message-----
From: Matt Becker [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 06, 2000 9:32 AM
To: Palm Developer Forum
Subject: SysRandom and sysRandomMax
When using SysRandom( ) to return a random number; how, and where, do you
define sysRandomMax. I toyed abit with FtrGet and FtrSet, but
they were unsucessful. Thanks for the help.
Matt
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/