I use frequently the $reveal widget to do conditional operations within s 
macros. For example in the below macro I have two parts, one part with 
match criteria (say IF-part) and one part with nomatch criteria (say 
ELSE-part)

\define myMac(a:"Empty")
<$reveal type="nomatch" text="Empty" default=<<__a__>> >
do calculations
.
.
</$reveal>
<$reveal type="match" text="Empty" default=<<__a__>> >
do another calculations
.
.
</$reveal>
.
.
.
\end


My question is: 

 Does Tiddlywiki performs the calculation in both parts and only shows the 
part meets the criteria?
I want to know what is the performance impact and what is the best solution 
here?

If TW calculates both parts, but only shows the correct part, does it means 
no rendering is done in the part is not displayed!

-Mohammad

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/93e13702-08b5-4f57-894c-1a81dcb71e5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to