> Is there a random number generator in the Palm API? If not does anyone
> know a good alternative?
this discussion has been addressed many times.. be sure to check
the archives at www.escribe.com. however, to answer your question.
yes.. there is a random number generator:
Int16 SysRandom(UInt32 seed);
pass 0 to use the last seed yadda yadda yadda.. but, before someone
else bites my head of about it "not being a true random function",
there may be better alternatives to write your own or use the provided
one if it suits your needs (80% of the time, this is the case).
cheers.
az.
--
Aaron Ardiri
Java Certified Programmer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 656 1143 A/H: +46 8 668 78 72
if you enjoy it, then it aint work :) - rule #106 of life
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html