> From: Matt Becker [mailto:[EMAIL PROTECTED]]
> When using SysRandom( ) to return a random number; how, and where,
> do you define sysRandomMax.

You can't, it's a constant defined as 0x7FFF in SysUtils.h.  The
documentation is saying that SysRandom() always returns a number in the
range from 0 to 0x7FFF.  You can then use the modulo math operator to yield
numbers in a smaller range.

-slj-


-- 
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