>>Need help.
>>
>>How do you let strtofile() behave like fputs? I just can't gets strtofile to do a carriage return even when I append the character expression with chr(13).
>>
>>Thanks
>
>Mohammed,
>StrTofile(lcString) just writes your lcString as is whatever the chars it has printable or nonprintable.
>lcString = 'Hello'+chr(13)
>StrTofile(lcString, lcFile)
>outputs Hello< CR >
>You can see that :
>do home()+'tools\hexedit\hexedit' with (lcFile)
>Cetin
BTW fputs() uses chr(13)+chr(10) not just chr(13).
Cetin