Sure. Just put the first two macros in a tiddler labeled with 
$:/tags/Macro. Then don't put a macro in your 2nd tiddler that has the 3rd 
macro. e.g:


title: My Invocation tiddler
tags: RandomTag

\define myMac(x,y)
<<smac1 $x$>> <<smac2 $y$>>
\end

<<myMac "TW" "lovely">>



-- Mark


On Sunday, July 1, 2018 at 5:56:07 AM UTC-7, Mohammad wrote:
>
> Hi
>  I have a tiddler tagged with $:/tags/Macro in that I have three macros, 
> tow of them work as sub-macro (like sub-function or private methods in 
> other programming language) for the main macro.
>
>
>    - Example
>
> \define smac1(a)  This is $a$
> \define smac2(b)  and I it is really $b$.
>
> \define myMac(x,y)
> <<smac1 $x$>> <<smac2 $y$>>
> \end
>
>
>
> I use it like 
>
> <<myMac "TW" "lovely">>
>
>
>
> The question is I want to have only myMac available globally and not smac1, 
> and smac2. Is it possible with TW?
>
> /Mohammad
>

-- 
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/f558512a-fd02-4900-8cec-84a8c95643b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to