Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FILETOSTR() problems
Message
 
 
À
26/07/2001 12:31:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00535843
Message ID:
00535850
Vues:
9
>I have a situation where FILETOSTR() sometimes fails. THe call is:
>
>FILETOSTR("My text", "MyFile.Txt", .F.)
>
>Any ideas what could cause this to fail?

FileToStr() only accepts 1 parameter. Do you mean StrToFile()? Since the default is to over-write, you do not really need the 3rd parameter. You could also check to see if the file exists. If it does, check the atributes to make sure an existing file can be over-written.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform