Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strtofile() function
Message
De
03/04/2001 07:25:55
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
03/04/2001 07:16:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00491247
Message ID:
00491250
Vues:
8
>Need help.
>
>How do you let strtofile() behave like fputs? I just can't gets strtofile to do a carriage return even when I append the character expression with chr(13).
>
>Thanks

Mohammed,
StrTofile(lcString) just writes your lcString as is whatever the chars it has printable or nonprintable.
lcString = 'Hello'+chr(13)
StrTofile(lcString, lcFile)
outputs Hello< CR >
You can see that :
do home()+'tools\hexedit\hexedit' with (lcFile)
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform