Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing a file using fclose
Message
De
07/08/2001 12:33:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/08/2001 12:09:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00540756
Message ID:
00540777
Vues:
13
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform