Re: [tw5] protected macros

2021-06-29 Thread Mohammad Rahmani
Hi Jean-Pierre, This is quite common in other programming languages! It is also possible in TW! Put all those sub-macros in another tiddler say $:/jean/macros/utility NOT tagged with $:/tags/Macro In the main macro after definition line (header) \import $:/jean/macros/utility That's all! There

[tw5] protected macros

2021-06-28 Thread Jean-Pierre Rivière
In a tiddlers tagged as #:/tags/Macro there is a public macro. It requires other macros to achieve its goals, but these macros have no business being used elsewhere. If I declare these macros in the same tiddler, they are exported. Bad :-( To mitigate that, I have their name beginning with an