Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about File() fundtion
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00891861
Message ID:
00891907
Views:
24
Suppose that I want to create 200 unique files names and files, would I overwhelm the drive,
if I simply did something like because there's nothing here to give the drive time to do
search for each file name.

myCount = 1
myString = "asdf"
do while myCount < 201
ThisName = SUBSTR(SYS(2015),2,8) + ".txt"
if .not. file(ThisName) ;
strToFile(myString, ThisName)
myCount = myCount + 1
endif
endif
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform