Also
values[1 2 1 2 3]sum[]
Regards
Tony
On Tuesday, June 4, 2019 at 4:56:02 PM UTC+10, TonyM wrote:
>
> Mario,
>
> Smiley Face :)
>
> Do you think we could also provide values with other inputs like
> values<varname> values{!!fieldname} values{tiddlername!!fieldname} if it
> could parse this with spaces as the delimiter then numeric lists in a
> variable will not be deduped and can feed into our maths operators.
>
> Perhaps values:field[fieldname] would also be valid extracting all values
> in all tiddlers with field name.
>
> My only concern is the operator name "values" is a very generic word and
> we will have a need for more with the maths operators.
>
> So given the above perhaps this would be safer.
> [datatiddler(s)]values:data[]sum[]
> [tiddler(s)]values:field[fieldname]sum[]
>
>
>
> Regards
> Tony
>
>
> On Tuesday, June 4, 2019 at 4:44:12 PM UTC+10, PMario wrote:
>>
>> Hi Folks,
>>
>> Just had a look at the code. ... It shouldn't be that hard.
>>
>> I would like to have {{{[[data]values[]sum[]]}}} ... Which should show 2
>> if the above content is a tiddler named: data.
>>
>> I do have a new "values" operator working. I'll create a pull request
>> today.
>>
>> BE AWARE!! *The code above doesn't work atm*. ... It will work in
>> 5.1.20, if Jeremy merges the pull request.
>>
>> have fun!
>> mario
>>
>>
>>
--
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/401a3858-215e-4931-a556-73e0d54c40c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.