Open full view…

The += function doesn't work

Thu, 17 Sep 2015 01:41:54 GMT

I type: Xxx += item1=5 item2=6 Xxx => 0 It gives me "0" always a ZERO. This function isn't working

Wed, 14 Oct 2015 18:18:01 GMT

Indent the items being added. From the help: "Summing definitions sum all definitions below it until it reaches a block of math that isn't a definition or is not indented." Xxx += item1=5 item2=6 Xxx => 11

Wed, 14 Oct 2015 18:24:59 GMT

Indent the items below the += line and before the evaluation line. See the "Summing Definitions" section of the Reference

Fri, 30 Sep 2016 20:37:29 GMT

Now, indee helps the right indention. But i still see strange effects - see the screenshot. [Photo_2016-09-30_22-36-04](// I added a Feature Request: Adding to a variable but *without* a variable name per line - this seems a much better idea ;-)

Mon, 06 Feb 2017 07:38:04 GMT

as per the documentation, you can simply use sum3 = [1, 2, 3, 4]; sum(x, sum3)=> 10