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
 All Forums
 Origin Forum
 Origin Forum
 text labels

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
ru_pro Posted - 06/28/2000 : 8:42:00 PM
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

1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 06/30/2000 : 8:09:00 PM
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).]


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000