I have created a simple Javascript function “addDays” to play with dates which I am calling with an offset parameter from a procedure. “addDays” works just fine. <<addDays 1>> returns the string I want.
\procedure myProc(myOffset)
<$list filter="[prefix<addDays $myOffset$>]" />
\end
I want to use “addDays” in a myProc with myOffset as a parameters. I have tried <<>> <> $()$ and nothing around myOffset and I cannot get it to work.
Sorry, I am early on the TiddlyWiki coding learning curve and hope I have provided enough information to get a simple answer.
Thanks