Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need an efficient random generation routine
Message
 
À
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:
00114567
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform