Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need an efficient random generation routine
Message
De
06/07/1998 11:25:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00114512
Message ID:
00114561
Vues:
15
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform