I’m a new Tinderbox user, and am really looking forward to making the most of it (and the forum!). Right now I am having some difficulty achieving the following; I can’t seem to figure it out from the reference website/manuals:
- I have a “Target” note with 3 inbound links.
- I would like to sum $MyNumber of the inbound linking notes “Target” and store that in $MyNumber(“Target”).
- I am trying to use a rule of “Target” to retrieve and sum each linking notes’ $MyNumber. I can’t seem to find the operator to sum the set of numbers that is returned from (links.inbound…$MyNumber) and store it in a Number attribute. I found that I am able to store the returned set in a string attribute, however ($MyString=links.inbound…$MyNumber)
I’m not having any luck using sum(links.inbound…$MyNumber), $MyNumber), either. I feel like I’m missing an obvious syntax error, but can’t spot it.
TLDR: How do I make a note that sums the values of a particular attribute of the notes that link to it?
Thanks! Looking forward to learning and contributing.