James, also do a search of the SDK examples, some use this so that will give you some pointers.
Darren. "Aaron Ardiri" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > 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 ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
