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:
00891887
Views:
17
Can you make your own directory each time? Then just create a series of file names and put them in there? Would only be one call for DIRECTORY() to see if the dir is already there.

>Hi,
>I have a routine that needs to create a series of random files but make sure
>that each one is unique. But each time I test for uniquesness with if File(thisFileName),
>it takes some time to check the disc drive. Therefore, should I include a brief wait period
>before or after checking for each file?
>Thanks
>Steve Elster
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform