KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: The "\" character in the method editor
PRODUCT: 4D | VERSION: 2003 | PLATFORM: Mac & Win
Published On: March 21, 2003

The "\" character signifies to the method editor that the next immediate character should be considered as a text character.

For example, if you wanted text that contains double quotes displayed in an alert:

She said, "hello."

You would write the following code:

$display_text:="She said, \"hello.\" "
ALERT($display_text)