Post Reply 
newRPL: Alpha demo 0.9 released [UPDATED 2017-10-25]
08-31-2017, 03:01 AM
Post: #77
RE: newRPL: Alpha demo 0.9 released [UPDATED 2017-08-24]
(08-30-2017 05:42 PM)The Shadow Wrote:  I've emailed you two programs in which SAME, or possibly IFERR, is acting very oddly.

Found it! The SAME cross operator between a real and an integer had a really dumb bug. It was doing: A=argument from level 2, B=argument from level 1, if B is the SAME as C then return 1, else 0. Of course, C was a real register that could contain anything from previous calculations.
In other words, SAME would result in 1 or 0 more or less randomly, depending on previous operations (but only when one argument was real and the other was an integer, it worked fine between 2 integers or between 2 reals). With SAME fixed, not only your program will work fine, but also the problem of POS not finding an item should be instantly resolved (POS uses the SAME operator to compare objects).

I'll see if I can push an updated ROM tomorrow, as this is quite critical.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: newRPL: Alpha demo 0.9 released [UPDATED 2017-08-24] - Claudio L. - 08-31-2017 03:01 AM

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