>Fred,
>
>I was having a mental breakdown. The file was not being written with an EOF character. I was opening the file with MODI FILE after it had been created and kept saving the file without thinking and of course this was adding an EOF.
>
>Thank you for your time,
>
>-Mark
>
FYI, if you modify a file with MODIFY FILE and then you right click on the window and choose properties, there is a "Save with end-of-file marker" checkbox. Uncheck it for files with that type of extension, and don't forget to check the "Apply to .XXX" checkbox (if you are using a CONFIG.FPW file, anyways).
>>Sorry, I don't have any W98 boxes to test it on. W95 does the same thing as W2K, no EOF marker. How exactly are you writing it out?
>>
>>This produces no EOF on my machines:
>>
>>fh = FCREATE("test.xxx")
>>nBytes = FWRITE(fh,"Testing")
>>FCLOSE(fh)
>>
>>
>>Looking at the resultant file with a hex editor, I see only the seven characters in "Testing".
>>
>>
>>
>>>Fred,
>>>
>>>I am using Win98.
>>>
>>>-Mark
>>>
>>>>
>>>>FWRITE() does not put an EOF marker in my file. Why, do you get one? What OS are you using. I'm using W2K and no EOF marker there.