Post Reply 
newRPL: [UPDATED April 27-2017] Firmware for testing available for download
12-03-2015, 11:13 PM (This post was last modified: 12-04-2015 06:44 PM by Claudio L..)
Post: #162
RE: newRPL: [UPDATED Dec-02-2015] Firmware for testing available for download
(12-03-2015 10:16 PM)Francois Lanciault Wrote:  Hi,

Thank you for the update!

I find that I cannot create local variables in a program like on the standard firmware. In the newRPL doc, it is said that local variables are supported so I must do something wrong.

For example a simple program like:

<< 1 2 -> A B << A B + >> >>

Will be accepted but translated to

<< 1 2 -> 'A' 'B' INVALID_COMMAND A B + >> INVALID_COMMAND

Where -> is obtained with "rightshift zero" and << >> is obtained with "rightshift +"

Must be common knowledge for everyone but me...

François

If you EVAL the program, you'll see that it will run fine (it was accepted because it was compiled properly).
I know for a fact this was decompiling fine last time I checked. It seems I must've broken something in the decompiler last time I touched it (for units), hence it's decompiling some items to INVALID_COMMAND's.
I'll take a look. Thanks for the bug report.

EDIT: Yes, confirmed broken, and fixed it. Will come out fixed on the next update.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL: [UPDATED Dec-02-2015] Firmware for testing available for download - Claudio L. - 12-03-2015 11:13 PM



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