Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Write into a file
Message
De
04/07/2003 10:58:58
 
 
À
04/07/2003 10:24:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00806958
Message ID:
00806977
Vues:
20
Hi Robert.

>Inside the file i have this text :
>
>
>This is a test 1
>This is a test 2
>This is a test 3
>
>
>So i want to put a the start of the file "00000"
>
>so i use FPUTS(grrfile,"00000")
>
>the result is
>
>00000
>s a test 1
>This is a test 2
>This is a test 3
>
>
>so what can i do to dont lose text ????

How about reading the file into a string using FILETOSTR(), adding the "00000" to the start of the string, then writing it back again using STRTOFILE()?

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform