On Tue, 20 Nov 2001, Avilla, Dane wrote:
> 1+(sysRandom()%6)

  1 + (SysRandom(0) % 6);

> That should give you a random number between 1 and 6, inclusive.

  at least give him something that compiles - also, dont forget to seed

// az
[EMAIL PROTECTED]
http://www.ardiri.com/


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