Hi Jan,

I have made an update of calc to allow initialization of undefined fields:

Get it here: calc @ tb5 
<http://www.google.com/url?q=http%3A%2F%2Ftobibeer.github.io%2Ftb5%2F%23calc&sa=D&sntz=1&usg=AFQjCNFRHIYRlHNtO1JRjrjJMglAsRdlhQ>
 

Implementation:

> <<calc "0=>!!counter" +1>>
>
> Meaning:
>
>    - if counter is undefined / NaN, initialize as 0
>    - if counter is a number, add 1
>
>
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/3e8ece1a-62d1-41be-9e8f-e970e21952c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to