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

Click here to load this message in the networking platform