Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rand()
Message
De
19/11/2009 09:34:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Rand()
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Divers
Thread ID:
01435565
Message ID:
01435573
Vues:
67
>>RAND() Returns a random number between 0 and 1.
>>Does that mean if I create a file with a name based on RAND() value I can create 100 files only?
>
>You can create any number of files based on RAND() but RAND() returns random number not unique number. IOW it can return duplicate numbers.
Not sure I understand. I see that rand() returns values based on 1/100. Which means 100 different values. Am I wrong?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform