Hi Tony, I've tried your example and it didn't work for me (refer attached pdf).
Here's three tiddlers to show you what I'm trying to achieve. (I'm not
using the rabbit hole address part of the macro)
Tiddller 1:
Title:Variables example 1 Female Refund
\define say-hi-using-variables()
{{$(name)$##Salutation}}
{{$(name)$##HerFirstName}}
"""
{{$(name)$##HerLastName}}
{{$(name)$##PostAddress1}}
{{Suburb##Cast}}
"""
"""
Dear {{$(name)$##HerFirstName}},
//INCOME TAX ASSESSMENT 2018//
"""
"""
We attach your income tax assessment for the {{CYR}}, which has been
checked and agreed with your return as lodged.
"""
"""
The tax office shows a refund of ${{$(name)$##HerTax17}} for you which
should have been forwarded to your nominated bank account.
"""
Please contact us if you have any queries.
{{YoursFaithfullySteveHarding}}
"""
\end
\define name() Newclient C
<$set name="address" value="Rabbit Hole Hill">
<<say-hi-using-variables>>
</$set>
Tiddler 2 (data tiddler)
Title:Newclient C
HerTax17:9,999
Salutation:Ms
HerFirstName:Clear
HerLastName:Person
PostAddress1:2 Victoria Street
Tiddler 3
Title:YoursFaithfullySteveHarding
"""
Yours Faithfully,
Steve Harding
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/08ad9e71-2250-44d7-a5a5-a2e360e009f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tony's example.pdf
Description: Adobe PDF document

