>>>>>Can you give me an example of how this makes a difference to VFP. You talk of "some file viewers" but what if you're viewing the file with VFP?
>>>>
>>>>WAIT WINDOW works correctly with chr(13) + chr(10), and with chr(13) alone - but not with chr(10) alone. Testing with version 6.
>>>>
>>>>I thought there were cases - within VFP - where chr(13) alone produced wrong results - but I can't find any right now. Perhaps the problem was, precisely, when exporting to other applications - I am not sure.
>>>
>>>As the Italians say: "Ecco!" I use CHR(13) in messagebox and wait window, but never CHR(10). My point was that to my mind CHR(13) does CR/LF by itself.
>>>
>>>None of the replies have shown me where CHR(13)+CHR(10) would be necessary, which is reassuring. :-)
>>
>>Well, if you will make programs for the web, you will soon learn it the hard way! <vbg> That's why I use CRLF which is shorter, and I am totally safe. The #DEFINE line is created automatically for me, since I have an Intellisense macro for it.
>
>I use the selfsame #DEFINE only once - but of course, the #INCLUDE (or equivalent menu command, for forms and classes) is still required in all modules.
Whether I in fact #INCLUDE or #DEFINE depends on the circumstance, of course. In my standard.h,
#DEFINE CRLF CHR(13)+CHR(10) is my first line.