Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need an efficient random generation routine
Message
From
06/07/1998 11:25:19
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00114512
Message ID:
00114561
Views:
13
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform