In a tiddler I have myfield: foo [[bar bar]]
Via my myprocedure(appendthis) I want to set a tiddler field so its value concatenates its old value with the argument, to get the field value foo [[bar bar]] [[just appended]] (or possibly [[foo]] [[bar bar]] [[just appended]]). Order doesn’t matter.
But it is surprisingly difficult to get the brackets right. I get everything from no brackets to quadruples to… well, you get it. I’ve tried format:titlelist[] but nope.
What to do?
\procedure myprocedure(appendthis)
<$button>go
<$action-setfield
$tiddler=<<currentTiddler>>
myfield= ...
/>
</$button>
\end
<<myprocedure "just appended">>
Thank you!