On Nov 28, 2004, at 3:29 PM, Alfred Van Hoek wrote:
on 11/28/04 4:23 PM, Jonathan Johnson at jonj at realsoftware dot com wrote:
Have you tried "Default = \"deft\""?
No, would never have thought about this, but this suggestion is very
helpful, and appears to satisfy RB,
Well, basically, the C compiler was interpreting the previous code by
simply doing string concatenations. Two string literals next to each
other are simply concatenated. IE, when the C compiler encounters {"a"
"b"}, it combines them to "ab". Using the escape character ("\") inside
the string allows you to tell the compiler to treat it as a true quote
rather than a string-literal-ending quote.
HTH,
Jon
--
Jonathan Johnson
REAL Software, Inc.
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
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>
|