Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I need to get a six (6) digit random generator?
Message
De
08/02/1999 12:38:18
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00181843
Message ID:
00185127
Vues:
24
>From a footprint perspective, I would recommend you do this in VB. However, here is the VFP Code:
>
>Local nOldDec,nRand
>nOldDec = Set("decimal")
>Set Decimals To 6
>nRand = 0
>Do While nRand < 100000
> nRand = Int(rand()*1000000)
>EndDo
>Set Decimal To &nOldDec
>Return x
>
>
>>I need to get a six (6) digit random generator?
>>This needs to be a small program that runs in win95.
>>Any ideas?
-----------
Thanks everybody for help with the random generator
questions.... )))
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform