I hadn't thought to think of the underscores as brackets, but that might be useful.
Best wishes Jeremy -- Jeremy Ruston [email protected] https://jermolene.com > On 7 Aug 2018, at 15:00, @TiddlyTweeter <[email protected]> wrote: > > Thank you Jeremy > > Would it be OK to call __underscore brackets__ "sub-bracketing?" > > What I mean is that it needs the "<" "<<" contexts to function, so its a > subsidiary construct? > > Best wishes > Josiah > > On Tuesday, 7 August 2018 15:24:57 UTC+2, Jeremy Ruston wrote: >> >>> The one thing that I'd like to know is whether, in all contexts, you need >>> __underscore brackets__ to be "bracketed", i.e. does this construct always >>> have to have "<<" or "<" etc. around it? >> >> Yes, a construction involving either << or < is needed to use any variable. >> >> The parameter name wrapped in double underscores is a valid variable name in >> its own right. When used in a filter it wouldn't have the double angle >> brackets: >> >> <<link-links "[tag<__tagname__>!sort[modified]]">> >> >> To put it another way: macro parameters are made available within the body >> of a macro as variables named with the parameter name wrapped in double >> underscores. >> >> Best wishes >> >> Jeremy. >> >>> >>> >>> Jeremy Ruston wrote: >>>> The feature was new in 5.1.16: >>>> >>>> https://tiddlywiki.com/#Macro%20Definitions%20in%20WikiText >>>>> Parameters as Variables >>>>> >>> >>> -- >>> 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 post to this group, send email to [email protected]. >>> 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/626580ce-0c7b-4520-a4b6-51f8f15a3844%40googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. > > -- > 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 post to this group, send email to [email protected]. > 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/7528980c-c6de-4f98-8c9f-86afaa47379d%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 post to this group, send email to [email protected]. 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/BE8BAD1D-7361-4D74-8C0B-56409A37320A%40gmail.com. For more options, visit https://groups.google.com/d/optout.

