Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about File() fundtion
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00891861
Message ID:
00891907
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform