Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rand()
Message
From
06/12/2002 10:48:30
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Rand()
Miscellaneous
Thread ID:
00730328
Message ID:
00730328
Views:
59
Hi All

I have an application that is using rand() to in more than on location in the program. The docs say:

To achieve the most random sequence of numbers, issue RAND( ) initially with a negative argument and then issue RAND( ) without an argument.

This application runs 24/7. Should I call rand(-1) when I first load the application or should I call rand(-1) each time before I generate a random number?

Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform