Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Rand()
Message
De
27/10/2010 10:45:11
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01487156
Message ID:
01487158
Vues:
93
This message has been marked as the solution to the initial question of the thread.
You need to seed the rand function when the application starts rand(-1).

>Hello,
>
>I'm having a problem with Rand(): after starting the application, it always generates the same Rand() values.
>
>How can I get really random values in VFP?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform