bbodi / notecalc3

NoteCalc is a handy calculator trying to bring the advantages of Soulver to the web.
https://bbodi.github.io/notecalc3/
GNU Affero General Public License v3.0
1.16k stars 43 forks source link

Sum reset not resetting #38

Closed apfranzen closed 3 years ago

apfranzen commented 3 years ago

Hello,

Love the project. While looking at the homepage, I saw that sum could be reset with --:

Values are automatically accumulated in the sum variable.
It can be reset and set to zero by starting a line with double dash (--). 

In practice, it doesn't seem like sum is resetting like I would expect. Am I missing something or is this not working?

image
bbodi commented 3 years ago

Sorry, it seems the tutorial is out of date: you can reset sum using headers:

100
200
# Header
3
sum