On Monday, May 4, 2020 at 12:07:32 AM UTC+2, TonyM wrote:
...

Global macros are imported in $:/core/ui/PageTemplate ... So those 
> variables will only be built, if the page template or one of the macros are 
> changed. 
>
> So this makes them quite efficient, but some of my macros refer to another 
> value eg 
> \define wiki-mode() {{$:/config/wiki-mode}}
> so will all the the page macros be built every time $:/config/wiki-mode 
> changes.
>

I think I wasn't clear enough. .. It will need to recalculate all macros, 
if you edit the tiddler, that contains the \define line. The wiki-mode 
macro will be evaluated if you use it with <<wiki-mode>> 

The global wiki-mode variable contains: {{$:/config/wiki-mode}} ... as a 
string

You can see all variables if you use: <<dumpvariables>> macro see: 
https://tiddlywiki.com/#dumpvariables%20Macro%20(Examples)

-mario

-- 
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/5996934a-a71c-4cf5-8c2f-55dcfcd0db15%40googlegroups.com.

Reply via email to