\define path() $:/folder1/subfolder11\define mymac(file)
\import aa
<$vars fullpath="$(path)$/$file$">
some code go here!
<<fullpath>> is wrong!
</$vars>
\end<<mymac readme>>I did not now when you import a macro, then you cannot use it like $(path)$
\define mymac_inner(file)
<$vars fullpath="$(path)$/$file$">
some code go here!
<<fullpath>> is wrong!
</$vars>
\end
\define mymac(file)
\import aa
<<mymac_inner $file$>>
\end
I think what Eric's example says is importing a macro defines it in the tiddler its imported to but you need to call it '<<macro>>` to get it to access parameters or variables like $(var)$ but when you import it you can import one that calls another.
Otherwise there something subtle in the words you use to summarise Eric's work that sounds slightly incorrect.
Regards
Tony
\define tt()
Welcome $(username)$<br>
<h3>Your Outstanding tasks are</h3>
...
\end