Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word+word
Message
From
06/04/2005 08:10:29
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 6
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01001807
Message ID:
01001833
Views:
32
>>>>>hi
>>>>>thank you.
>>>>>it works via chr(10).
>>>>>thanks.
>>>>
>>>>Better get accustomed to end lines with chr(13) + chr(10) Only chr(13), or only chr(10), will work sometimes - and sometimes it will not.
>>>
>>>Hilmar
>>>
>>>Funny. I've always taken CHR(13), Enter, to equal CR-LF. I've used it extensively throughout my use of FP and it's always thrown a line. When might it not work as such?
>>>
>>>Terry
>>
>>An example: Some file viewers will show the lines on top of each other, in stead of under each others, if you don't use CHR(10). Only CHR(13) really means 'start on the beginning of the same line'. I have seen this many times, the text is totally impossible to read.
>
>Tore
>
>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?
>
>Terry

Within VFP this will not be important, but if you write for other programs, or for the web, it may be crucial. Remember, IE and Firefox are file viewer in this case.

I prefer to be consistent, so I usually have the line #DEFINE CRLF CHR(13)+CHR(10) in my programs anyway, so the burden is not so heavy.
Previous
Reply
Map
View

Click here to load this message in the networking platform