You need to invoke it differently. Like:

\define myothermacro(gddayeh)
$gddayeh$
\end

\define mymacro()
<$set name="result" value="Hi Bob">
<$macrocall $name=myothermacro  gddayeh=<<result>> />
</$set>
\end

<<mymacro>>

To pass the value of the variable (BTW, I'm probably using the wrong term 
here) you need to pass it inside a widget (or at least that's how I 
understand it). The widget that runs macros is <$macrocall>. Note that the 
name of the macro is passed inside a dollar-variable ($name) and not 
"name". This is one of the inconsistencies that will drive you nuts.

Basically, macros, variables, parameters, arguments in TW5 aren't like 
anything you will see anywhere else. So don't feel bad if takes a while to 
make sense of it all.

Mark 



On Wednesday, March 1, 2017 at 6:18:35 PM UTC-8, Dave wrote:
>
> ok, so now how do I pass that on to another macro?
>
> this doesn't work:
>
> \define myothermacro(gddayeh)
> $gddayeh$
> \end
>
>
> \define mymacro()
> <$set name="result" value="Hi Bob">
> <<myothermacro  "<<result>>" >>
> </$set>
> \end
>
> <<mymacro>>
>
>
>
>

-- 
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/37622a9d-bb28-4402-8ad8-4057617fcf92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to