[tw5] Re: macro and submacro (private macro not available globally)

2018-07-02 Thread PMario
uups, I didn't see the "not" in the request. ... So just ignore my post :) -m -- 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

[tw5] Re: macro and submacro (private macro not available globally)

2018-07-02 Thread PMario
Hi Mohammad, If I test your example at tiddlywiki.com I have global access to all 3 macros. ... For me it seems you messed something up with your theme, or plugins. -m -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from

[tw5] Re: macro and submacro (private macro not available globally)

2018-07-01 Thread Mohammad
You are great Eric! Thank you! On Monday, July 2, 2018 at 2:03:15 AM UTC+4:30, Eric Shulman wrote: > > On Sunday, July 1, 2018 at 9:07:45 AM UTC-7, Mohammad wrote: >> >> I use the TW 5.1.18-prerelease, it seems instead of $includevariables I >> have to use $importvariables >> > > oops! I meant

[tw5] Re: macro and submacro (private macro not available globally)

2018-07-01 Thread Eric Shulman
On Sunday, July 1, 2018 at 9:07:45 AM UTC-7, Mohammad wrote: > > I use the TW 5.1.18-prerelease, it seems instead of $includevariables I > have to use $importvariables > oops! I meant to write "$importvariables" my bad. -e -- You received this message because you are subscribed to the

[tw5] Re: macro and submacro (private macro not available globally)

2018-07-01 Thread Mohammad
Hi Eric, Yes, that works wonderful! In this way I can hide the macros I don't want to be accessible by other tiddlers or globally. Some times we create a code contains several parts, but only one macro should be available. *Note:* I use the TW 5.1.18-prerelease, it seems instead of

[tw5] Re: macro and submacro (private macro not available globally)

2018-07-01 Thread Eric Shulman
On Sunday, July 1, 2018 at 7:22:20 AM UTC-7, Mohammad wrote: > > The case is how can I have myMac available globally (can be invoked from > any tiddlers) but smac1 and smac2 remain private! > 1) put myMac() in a tiddler tagged with $:/tags/Macro 2) put smac1() and smac2() in another tiddler

[tw5] Re: macro and submacro (private macro not available globally)

2018-07-01 Thread Mohammad
Mark! Thank you for your quick reply! The case is how can I have myMac available globally (can be invoked from any tiddlers) but smac1 and smac2 remain private! /Mohammad On Sunday, July 1, 2018 at 6:14:20 PM UTC+4:30, Mark S. wrote: > > Sure. Just put the first two macros in a tiddler labeled

[tw5] Re: macro and submacro (private macro not available globally)

2018-07-01 Thread 'Mark S.' via TiddlyWiki
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) <> <> \end <> -- Mark On Sunday, July 1, 2018 at 5:56:07 AM UTC-7,