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--