Hi,
I am sorry, I have missed something that is by now obvious to me, but not 
necessarily to everyone.

When you wrote that your macro did not produce any output I tested the 
macro and since my tests where in the same tiddler due to it being easier 
it of course worked.
>From what you are describing now it sounds more like not the macro itself 
being the problem, but that you are missing the tag $:/tags/Macro on the 
macro containing the tiddler.
Without this tag your macro only exists within the context of the tiddler 
it was defined in and can only be used there. 

For the sake of completeness: There is also the ImportVariableWidget/Import 
Pragma <https://tiddlywiki.com/#ImportVariablesWidget>, but judging by your 
description in this case it is probably easier to just mark your macro as 
global.

Regards,
Felicia
 
On Sunday, 19 July 2020 at 19:49:54 UTC+2 drmo...@gmail.com wrote:

>
> I don't suppose anyone has any further enlightenment on this, do they?
>
> I'm still completely stuck. Even changing the macro to:
>
> \define ModifierBlock(for:"")
> Hello
>
> <$set name="x" value=<<__for__>> >
> <$set name="mfield" filter="[title<x>lowercase[]addprefix[mod-]]">
> <<dumpvariables>>
> <table>
>
> <$list filter="[all[tiddlers]has<mfield>]">
> <tr><th><<currentTiddler>></th><td><$view field=<<mfield>> /></td></tr>
> </$list>
> </table>
> </$set>
> </$set>
> </table>
> \end
>
> Invoking
>
> <<ModifierBlock test>>
>
> In another tiddler produces nothing at all (not even "Hello" or the output 
> from dumpvariables) and no indication why not, which is not really a good 
> development environment! Is there any way to get a clue what's happening?
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dc84814e-634c-4f29-ad0b-d841ccc3e7afn%40googlegroups.com.

Reply via email to