I can't seem to figure out how to make a string constant with specific data in it. What I am wanting is a 0x0D 0x0A (CRLF) constant. If I paste in a CRLF, it is automatically converted to a single CR. Is there a way to do this, or am I just going to have to build it as a property when the app starts up?

You can use escaped strings in REALbasic, however it's NOT AN OFFICIAL FEATURE, and will NOT BE SUPPORTED. To use them, you'd put a backslash before your opening quote, and then when you want a character, a backslash - x then the hex number
of your character.

const kCRLF = \"\x0D\x0A"

-- Joe Ranieri


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to