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
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
2 matches
Mail list logo