>>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. :-)
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.