> I'm reading through the API documentation and it seems pretty covoluted
> to generated a Random Number.
> For some reason I think this should be easier than described.

  SysRandom(0);
 
> The API documentation said something about it returning a number between
> 0 and (some paramter) that is platform dependant.  I'm working on a PC. 
> Does it return a number between 0 and 1?

  SysRandom(0) % max_number;
 
> If anyone has a code snippet, that would be great.

  cheers

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!
+46 70 656 1143


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