Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing a file using fclose
Message
From
07/08/2001 12:33:26
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/08/2001 12:09:09
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00540756
Message ID:
00540777
Views:
12
>Hi, I have wrote a program that uses a text file and Fopen / Fread and Fclose.
>I have ran into a problem trying to delete this file after executing the Fclose.
>I get a false return. I tried to use close all, but then I run into the problem all my tables are close when I come back into the menu. Any susgestions? Thanks for your efforts.

Robert,
If you get a false return it's a high possibility you never could open and get the handle. Check if you really can get a positive handle and if not check reason with ferror().
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform