Hi Jan,
 

> Calc does not render if the counter-Field does not exist or is empty.
>

I could extend calc, so that it would initialize the value
when it would otherwise be undefined / NaN, e.g.:

<<calc "0=>!!counter" +1>>

Meaning:

   - if counter is undefined / NaN, initialize as 0
   - if counter is a number, add 1

You could initialize with a numeric value of your choice:

<<calc "7=>!!counter" +1>>

I would make it so that whatever is left of "=>"
would have to be numeric for the expression to be valid.

Would that help?

Best wishes,

Tobias. 

-- 
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/8746f965-bbbf-48bb-9ca8-a5f21327ba08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to