The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 text labels
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

ru_pro

USA
14 Posts

Posted - 06/28/2000 :  8:42:00 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
What is so special about (") in the text labels?

The following script will return NO label (i.e., words "any text" won't be seen unless terminated by another (") - the \? is applied to the entire text. Is it a bug or a feature?

\g(") any text
\u(") any text
\b(") any text
\i(") any text
\+(") any text
\-(") any text

greg

USA
1379 Posts

Posted - 06/30/2000 :  8:09:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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:
ExampleText Control TextText Appearance
1This is \c2(")any textThis is
2This is \c2(")any text"This is
3This is \c2(")any text)This is
4This is \c2(")any text)"This is
5This is \c2(")any text")This is ")any text"
6This is \c2(")any text)")This is ")any text)"
7This is \c2("\c1(any text)")This is "any text"
8This 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).]

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000