c3d / db48x

RPL runtime for the DM42 calculator, in the spirit of HP48/49/50
http://48calc.org
GNU Lesser General Public License v3.0
114 stars 14 forks source link

The `root` command should update the global variable #1251

Closed c3d closed 1 month ago

c3d commented 1 month ago

After running, the root command should update the global variable with the value that was found.

c3d commented 1 month ago

Fixing this exposed another problem, which is that parsing 'ROOT(X+3;X;1)' parses the X+3 segment directly in the funcall, which causes it to evaluate as the numerical value of X+3 if X is defined. None of our tests exposed that.