Thank you Eric! Each time you post this I a reminded of all the other times 
you post this! Thank you for being patient and persistent.

Diego

On Saturday, July 28, 2018 at 5:30:43 PM UTC-5, Eric Shulman wrote:
>
> On Saturday, July 28, 2018 at 1:28:39 PM UTC-7, Mark S. wrote:
>>
>> AFAIK state can only take a text reference. The Reveal widget acts the 
>> most like structures in other languages that people are familiar with, so 
>> it would be useful if it could make variable/variable comparisons as well. 
>> On Saturday, July 28, 2018 at 1:00:58 PM UTC-7, Diego Mesa wrote:
>>>
>>> Thanks for this! Just to confirm, state *can't* take a variable 
>>> directly right? Like:
>>> <$reveal state=<<result>> type="nomatch" text="0"
>>> <<result>>
>>> </$reveal>
>>>
>>
> In the <$reveal> widget, you can use default=... parameter to specify a 
> value from a variable, as documented:
>
> default Default value to use when the state tiddler is missing
>
> Thus, OMIT the state=... param, and use default=... instead:
> <$reveal text=<<result>> type="nomatch" default="0">
>
> enjoy,
> -e
>
>
>

-- 
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/8d16aa75-336e-42d9-a625-58f4dc51d774%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to