[tw5] Count data dictionary values

2019-06-03 Thread Watt
Thanks TonyM, yes it's a data tiddler with index:value pairs. 

01:1
02:0
03:1
04:1
05:0
etc.

Any clues on counting the '1' values much appreciated. 

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/a2f24081-11aa-44b3-90f3-d65aca3fef1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Count data dictionary values

2019-06-03 Thread TonyM
By data dictionaries do you mean data tiddlers.

Ie an index and value pair.

If so you can treat the value in a data tiddler like the value in a field.

I will try and post more on this later. 

I even know how to do in before prerelease.

Regards
Tony

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/821792bb-163b-4106-b38b-7350e7e770c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Count data dictionary values

2019-06-03 Thread Watt
I'm experimenting with data dictionaries and have one that records runs 
completed. It has dates 01 to 31 as the index and either 0 or 1 as a value, 1 
indicating a run completed on that date. e.g

01:1 
02:0 
03:1 etc

Runs completed=2

I'd like to count those '1' values in order to get a total of runs completed, 
but I'm stumped. Does anybody know how to count, add or mathematically 
manipulate data dictionary values? I'm using the pre-release version. Thanks.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/0faa4f21-0773-4cba-bd8f-07ae75a75032%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.