KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: New lines in Expression window
PRODUCT: 4D | VERSION: 13.0 | PLATFORM: Mac & Win
Published On: February 16, 2012

One of the enhancements made within the Debugger in 4D v13 is the ability to see certain special characters within text variables.

In previous versions of 4D, when a text variable is viewed the Custom Watch Pane of the Debugger and the text contained the characters: carriage return, line feed, or tab, the characters would not be displayed in an easily readable format.

As of 4D v13, rather than attempting to display the actual characters, these characters are represented within the Custom Watch Pane by metacharacters. Specifically, "\n" will be dispayled in the place of the Line Feed character, "\r" will be displayed in the place of the Carriage return character, and "\t" will be displayed in the place of the tab character.

Here is a comparison of a few text variables which contain these special characters:

4D v12 (Mac OS 10.6.8)

4D v13 (Mac OS 10.6.8)