Page 1 of 1

[nice to have when not busy]sum average etc

Posted: Oct 9th, '17, 16:27
by SimpleSi
on lists please

Re: [nice to have when not busy]sum average etc

Posted: Oct 9th, '17, 19:40
by JohnM
There is already a a "sum" block; I used the "find system block..." feature to find it.

Agreed, average would be useful, and perhaps min and max as well.

That said, these are all easy enough to write, so perhaps projects that need them should just add them...

Re: [nice to have when not busy]sum average etc

Posted: Oct 10th, '17, 13:08
by SimpleSi
There is already a a "sum" block; I used the "find system block..." feature to find it.
Excellent - I'd vote for adding it in as a basic block
Agreed, average would be useful, and perhaps min and max as well.
Can live without average since its simply sum(list)/count(list) but I'd have it if was free :)

min and max are already available in Operators and they work on lists so you've already sorted them out :)
That said, these are all easy enough to write, so perhaps projects that need them should just add them...
It's your playground so you get to decide of course :)