Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rand()
Message
From
19/11/2009 09:34:51
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Rand()
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Miscellaneous
Thread ID:
01435565
Message ID:
01435573
Views:
68
>>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform