Post Reply 
newRPL - build 1255 released! [updated to 1299]
04-05-2018, 11:06 AM (This post was last modified: 04-05-2018 11:10 AM by 3298.)
Post: #188
RE: newRPL - build 1001 released! [update:build 1052]
I just typed your example into a 50g (well, technically x49gp since I'm also currently developing a patch series for it, but who cares), and found that my memory failed me: an unquoted variable does not automatically EVAL a contained symbolic.
On the other hand, EVALing the symbolic does recurse, i.e. 'E' RCL EVAL returns 1771566 (and it doesn't matter if A and B are reals or integers). If I store 1 into A, the result of 'E' RCL EVAL will be 117650. Nothing was stored back on the previous evaluation of E when A was still 5.
Even better, if I purge A, then 'E' RCL EVAL returns the symbolic 'A^6+36*A^5+540*A^4+4320*A^3+19440*A^2+46657*A+46656'. When this would be encountered in a form, it would be quite obvious from this that A is missing.
Circular references are detected too: I stored '5+E' into A and tried to do 'E' RCL EVAL. Result: "EVAL Error: Circular Reference"
(Edit: all of this was done on the stock firmware, but it's so basic that I would be surprised if newRPL was incompatible.)

I get the impression you're thinking of the new EVAL1, but EVAL is still there.

What I'm trying to say is this: There's no need to invent a new system, all the pieces are already there. In a solver form, show the result of <variable> EVAL instead of the variable itself (and preferably catch errors such as the circular reference one, giving them special treatment such as displaying the error text in place of the result). Job done.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL - build 1001 released! - pier4r - 12-16-2017, 08:03 AM
newRPL - on Hp 39gs - Martin Hepperle - 06-05-2019, 06:51 AM
RE: newRPL - build 1001 released! - pier4r - 12-23-2017, 10:16 AM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 09:42 AM
t - Claudio L. - 01-01-2018, 03:06 PM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 03:41 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 04:54 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 06:58 PM
RE: newRPL - build 1001 released! [update:build 1052] - 3298 - 04-05-2018 11:06 AM
newRPL - brickviking - 10-05-2018, 06:01 AM
How to participate? - erazor - 12-13-2019, 07:12 AM



User(s) browsing this thread: 5 Guest(s)