Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird behavior with chr(10)
Message
From
18/01/2023 10:15:06
 
 
To
18/01/2023 07:06:41
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01685827
Message ID:
01685838
Views:
28
Sooo this is for curious people :-D

I'm building text that will go in an email. It's very important that all the CHR(10) are functioning properly.

>Just my 0,02€cent:
>The result of single LF or CR on ? is not stringent for all I remember, sometimes it breaks the line, sometimes not. If on a DOS comp I would use CRLF all the time.
>If I would not simply use two lines of code ?.
>
>It would be nice to answer the question to where you put the data out. Some of us are just curious.
>And more interesting, what is the difference in the code? Hidden char?
>
>BTW, VFP offers to enter 0h0A as a literal instead of CHR(10). 0h0C0A works for CRLF. :)
>
>Thank you
>
>>I never tested based on the number of characters. I was going in that direction but retyping the code fixed it.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform