>
> \define fetch(attr) {{data/{{!!id}}##$attr$}}
>
First, note it is not possible to use nested "shortform syntax", i.e you
must not {{...{{ }} ...}}
Instead use explicit transclusion for the outer one.
However, in this case you're also attempting to concatenate the id, which
typically means a definition by itself, into so I'd instead suggest a two
step macro:
\define fetch-inner(id,attr) {{data/$id$##$attr$}}
\define fetch(attr) <$macrocall name=fetch id={{!!id}} attr="$attr$">>
<<fetch "name">>
There may be better or more elegant solutions.
<:-)
--
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/b039cd8a-ea23-4b57-8e41-115c5aacb292%40googlegroups.com.