Yes, *result *has a value: *yes*

Seems I cannot get any output from reveal widget!

I pasted the whole code here to be able to check in tiddlywiki.com!


\define gt() 
$(TidA)$ $(TidB)$ +[nsort[]last[1]remove[$(TidB)$]]
\end

\define is-it-newer(TiddlerA, TiddlerB)
<$set name=TidA  tiddler=<<__TiddlerA__>> field="modified">
<$set name=TidB  tiddler=<<__TiddlerB__>> field="modified">
<$list filter=<<gt>> emptyMessage="no">
yes
</$list>
</$set>
</$set>
\end

> <<is-it-newer Aa Bb>>

<$wikify text="""<<is-it-newer Aa Bb>>"""  name="result">
<<result>>
<$reveal type="match" text="yes" default=<<result>> >
Yes, Aa is newer
</$reveal>
<$reveal type="match" text="no" default=<<result>> >
No, Aa is older
</$reveal>
</$wikify>




On Thursday, March 14, 2019 at 9:20:45 PM UTC+3:30, BurningTreeC wrote:
>
> Hi BTC,
>>  Thanks it works! but then if I further use the result I go into another 
>> trouble.
>>
>> No check this!
>>
>> <$wikify text="""<<is-it-newer Aa Bb>>"""  name="result">
>> <<result>>
>> <$reveal type="match" text="yes" default=<<result>> >
>> Yes, Aa is newer
>> </$reveal>
>> <$reveal type="match" text="no" default=<<result>> >
>> No, Aa is older
>> </$reveal>
>> </$wikify>
>>
>> No output! 
>>
>>
>>
> does the <<result>> show something? if it does the problem may just be the 
> reveal widget ... does it really work without a state tiddler?
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/cd3294fe-eed3-490e-a00e-01e08ac3981d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to