Saq,
Thanks, I did understand your point, and expected <local-value> to be empty
and could not make it so, Although '<<local-value>>' always returned ''
when empty.
But as I read in the following example it appears to be blank? thus if !is[
blank] no value will be returned and else is engaged.
*Perhaps we can say an empty run is blank not empty?*
Thus as you suggested !is[blank] changes blank to empty.
Thus in the case of [<varname>] an empty varname returns blank not empty.
I have decided to take another path, dynamically create a macro eg "\define
setting() value"
This reply was Posted now, I forgot to post it yesterday.
Thanks for you help
Tones
On Tuesday, 10 November 2020 14:50:25 UTC+11, Saq Imtiaz wrote:
>
> You may have missed my point. I don't believe your first filter run ever
> returns an empty title list.
>
> Try this:
> {{{ [<local-value>!is[blank]] ~[<global-config-value>!is[blank]] ~[<config
> -default>] }}}
>
> For a hint try this in Advanced Search -> Filters:
> [<foo>]
> It should tell you there is 1 match.
>
> You can also test:
> {{{ [<local-value>count[]] }}}
>
> Your first filter run must return no titles in order for the else clause
> to be triggered.
>
> If none of that works, please post the actual vs expected outcome of:
> {{{ [<local-value>] [<global-config-value>] [<config-default>] }}}
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/cd43e9d3-8929-4b24-b362-84d799529098o%40googlegroups.com.