[Tb] Vrs. 3.01 Preferences - Text Export - Open File With

From: Scott Price <sprice>
Date: Fri Dec 09 2005 - 09:35:34 EST

Hello--

I'm trying to set up an export that indicates the length of a note
with a set of icons (much like the Tinderbox Outline View). This
isn't working for me, and I can't puzzle out the syntax for making it
work:

^if(^get(TextLength) > 550)^<img src="note_4.png">^endif^
^if(551 > ^get(TextLength) > 350)^<img src="note_3.png">^endif^
^if(351 > ^get(TextLength) > 150)^<img src="note_2.png">^else^
<img src="note_0.png">^endif^

With that, I only seem to be getting the > tests, as a note has as
many of those icons as it can-- 375 shows both note_3.png and
note_2.png .

I also tried it with separate tests, like this:

^if ((^get(TextLength) < 551) & (^get(TextLength) > 350)^

... and got the same behavior.

How do I combine tests without an ^if(^if() ^endif ) ^endif structure?

--Scott
Received on Fri Dec 9 09:34:38 2005

This archive was generated by hypermail 2.1.8 : Wed Dec 14 2005 - 10:45:37 EST