[tw5] Re: how to set a global variable with a tiddler field value

2021-08-18 Thread vpl
Hi, Much much simplier .. indeed I've turned around this simple solution for some time without finding it .. Thanks a lot for your very quick help Regards Le mercredi 18 août 2021 à 12:53:31 UTC+2, Eric Shulman a écrit : > On Wednesday, August 18, 2021 at 3:25:22 AM UTC-7 vpl wrote: > >> In

[tw5] Re: how to set a global variable with a tiddler field value

2021-08-18 Thread Eric Shulman
On Wednesday, August 18, 2021 at 3:25:22 AM UTC-7 vpl wrote: > In fact my problem was linked to a button action and thanks to > https://tiddlytools.com/timer.html code sample I was able to find a work > an option > \define tasks_delete() > <$vars projectId={{{ [get[projectId]] }}}> >

[tw5] Re: how to set a global variable with a tiddler field value

2021-08-18 Thread vpl
Thanks a lot for this detailed answer which is going beyond my current expertise and understanding of these languages suptilities In fact my problem was linked to a button action and thanks to https://tiddlytools.com/timer.html code sample I was able to find a work an option \define

[tw5] Re: how to set a global variable with a tiddler field value

2021-08-17 Thread Soren Bjornstad
vpl, First of all, the syntax for incorporating a variable into a filter expression is not <> but : \define test_project() {{{ [get[projectId]] }}} However, this still may not work, depending on how you use the macro. It's tempting to think of macro transclusions as "function calls",