Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Write into a file
Message
From
04/07/2003 10:58:58
 
 
To
04/07/2003 10:24:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00806958
Message ID:
00806977
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform