Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need an efficient random generation routine
Message
 
To
06/07/1998 11:25:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00114512
Message ID:
00114567
Views:
15
Thanks to all of you. This is what I wanted. - Gerry

>Rand() should be sufficient for what you want. The key is to provide a seed number the first time rand() is called. I recommend rand(seconds()). This step coupled with the code David Frankenbach posted should do the trick.
** Gerry White / Hagerstown, MD, USA --
** Developing since 1986 in Foxpro, VFP, Oracle, and Java.
** http://GerrysPlace.com
Previous
Reply
Map
View

Click here to load this message in the networking platform