Hi everyone,
I’m playing with the new concept of procedure in TW 5.3 prerelease, and I must say that so far it feels much easier than traditional macros for an amateur like yours truly.
I probably have some misunderstanding about this point though: apparently there’s something not working when I pass a reference as argument, like this:
\procedure example(n:"1")
<<n>> {{{[<n>multiply[3]]}}}
\end
direct value n: <<example n:4>>
field value n: <<example n:{{!!param}}>>
In the second case the tillder must have a field param
with value 4 (or any number)
The first call gives the expected result 12, but the second one gives 0 because the <n>
inside the filter appears undefined, even though the value is printed.
Am I missing something? Isn’t this supposed to work?
Thank you!