On Tuesday, April 14, 2020 at 4:35:18 PM UTC-7, Mat wrote: > > I have a feeling the range operator should be usable here but not sure how. > > You're right. The range operator can make the second part of the macro even simpler:
\define h(t1 t2 t3 t4 t5 t6 t7 t8 t9 t10) <$vars un="__"> <mark> <$list filter="[range[10]] +[addprefix[t]addprefix<un>addsuffix<un>getvariable[]]" variable="myvar"> <<myvar>> </$list> </mark> </$vars> \end So now if you want to add parameters, you just need to add parameters and adjust the "range" operator to match. -- 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/e7acecbf-fc6d-4d0f-ae5f-b64e7d42300a%40googlegroups.com.

