I wouldn't call this a bug or a feature - it's just the way the parsing works. Once you start a double-quoted string within a formatted expression, Origin expects you to finish it with a matching double-quote. The escape sequence that uses parentheses to delimit formatting expects a right-parenthesis to match the left-parenthesis as well.In your example, you've created a situation where the quote matching takes precedence over the parentheses matching so Origin does not display anything until you resolve these in the correct sequence:
Example | Text Control Text | Text Appearance | 1 | This is \c2(")any text | This is |
2 | This is \c2(")any text" | This is |
3 | This is \c2(")any text) | This is |
4 | This is \c2(")any text)" | This is |
5 | This is \c2(")any text") | This is ")any text" |
6 | This is \c2(")any text)") | This is ")any text)" |
7 | This is \c2("\c1(any text)") | This is "any text" |
8 | This is \c2(\(34))any text\c2(\(34)) | This is "any text" |
The fifth and sixth examples show proper 'closure' while the last two examples demonstrate proper nesting.
For technical questions, try emailing Tech Support directly.[This message has been edited by Greg (edited 06-30-2000).]
[This message has been edited by rtoomey (edited 06-30-2000).]