Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create a text file 2
Message
De
28/06/2000 12:49:08
 
 
À
28/06/2000 12:41:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00385881
Message ID:
00385882
Vues:
9
>I am using VFP6. How does the syntax of strTofile() work in creating text file? Can you provide sample syntax for me to stare down?

Its so much easier to help you, if you use the "reply" link to create a new message in the same thread.

You can create a new Text file like this:

StrToFile('Hi, My Name is Ken', 'c:\MyName.txt')

You can modify it like this:

lcFile = FileToStr('c:\MyName.txt')
lcFile = upper(lcFile)
StrToFile(lcFile, 'c:\MyName.txt')
StrToFile('NETH', 'c:\MyName.txt', .t.) &&This Adds to teh file instead of Overwriting
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform