Hi, I'm struggling getting macrocall to work to allow me to use a macro 
within a macro

Here's what I originally wanted to do:

Given this macro (<<sliderO "*" "hello there">>)

\define sliderO(label,text)
<$set name=this value=$(currentTiddler)$ >
<$button popup="$:/state/<<this>>$label$" class="btn-invisible tw-slider">
$label$</$button>
<$reveal type="match" text="" default="" state="$:/state/<<this>>$label$" 
animate="yes">

$text$

</$reveal></$set>
\end

I wanted to call that macro with the following as the text:

 | ''resisted finger ext'' | <<rorlcheck resfingerext>> |


So the content would be revealed with the slider mechanism.  The problem is 
that you can't have a <<macro>> within a <<different macro>> I assume 
because of the "<<>>" repetition

----

The answer I presume from googling here is to use a macrocall, but for the 
life of me I can't seem to get it to work

I tried setting the content as both a macro and a variable:


\define motor2ndorder()
 | ''resisted finger ext'' | <<rorlcheck resfingerext>> |

\end

<$macrocall name=sliderO label="Motor 2nd Order" text=<<motor2ndorder>>/>

and

<$vars text="""
 | ''resisted finger ext'' | <<rorlcheck resfingerext>> |
"""></$vars>

<$macrocall name=sliderO label="Motor 2nd Order" text=<<text>>/>

but neither of those is working :(

any suggestions?

-- 
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/c5cf0f8a-4ca4-4bb5-904b-f22d87c35dee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to