So, as the title says, I’m trying to make a calculator in Snap! but I’m facing some issues. Currently, I’m working on applying PEMDAS, specifically the P part of that problem, and how to solve the information in the parentheses. Namely, my Index variable doesn’t seem to be tracking correctly. Here’s a snippet of what’s happening: “Index should be the equal to the list length of SubEquations but reporting 0”
**What have you tried that didn’t work?
I’ve tried moving around my index resets, and even got rid of most of them as they did nothing, thinking that index was falsely being reset to 0, but that didn’t fix it or seem to do anything besides a minor readability increase.
**
Here’s the link to the project, simply open it and go to “see code”: https://snap.berkeley.edu/project?username=johnce&projectname=Snap%21%20Block%20Repository (it’s the “paresthesias Isolator” block, right click and edit)