Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Write into a file
Message
 
 
À
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:
00806978
Vues:
15
You've to write to another file.
lcCrLf = CHR(13)+CHR(10)
lcMyfile = "myfile.txt"
lcNewFile = "mynewfile.txt"
STRTOFILE("0000" + lcCrLf + FILETOSTR(lcMyfile), lcNewFile)
>Ok so let assume that the file is open
>
>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 ????
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform