Oh great! Thank you for that.
I may not get a chance to try that out until tomorrow, but will let you know how it goes.
I’m building a roleplaying ‘rulebook’ and will have random character generation tools etc. So there will be a LOT of number value evaluation that would output values according to the number coming in.
So I have a random number generation macro, that just outputs the number. But within that macro I want to pass the random number to another macro/function - so that it can append an adjustment. So if the number is below a set number, the second macro/function would return something like “-5”, if the random number is above a set value, the second macro/function would return like “+2” etc.
And the outcome of the first macro would become a set value within a Tiddler’s body.
So it sounds like functions would be perfect. To access those globally, what tag do I need for functions? I have the tag for macros, but haven’t played with functions yet. This is my first foray into ‘coding’ in TW.
I’ve been doing work with bundles and simple macros, but for this notebook, I’ll be needing to do more complex things.
Thanks again!