Post Reply 
newRPL: [UPDATED April 27-2017] Firmware for testing available for download
01-23-2017, 02:50 AM
Post: #523
RE: newRPL: [UPDATED December-29-16] Firmware for testing available for download
(01-22-2017 09:52 PM)The Shadow Wrote:  
(01-22-2017 08:42 PM)Claudio L. Wrote:  Yes, you can redefine anything. However, the menu keys are quite complex in their actions, I haven't really thought about writing a handler for that in RPL, as it would have to know somehow which variable is being displayed in the box.
Maybe I should add a command SAFESTO and use it or regular STO based on a flag.

Here's a thought: Maybe have two global variables in the .Settings directory that give the defaults for left-shift and right-shift on VAR identifier entries. Naturally, they would be STO and RCL by default, but people would be able to change them if they like.

Heck, you could throw in left-hold and right-hold, and the default decoration, and everything else!

It's not so simple. The key handler needs to check (for example, shift-var for RCL):
a) If it's the VARS menu or any other (custom or system) menu.
b) Assuming it's indeed VARS, the variable could be a directory, if it is it changes directory transparently (even within the editor!).
c) If the variable is not a dir, then do RCL but if the editor is open, don't put the result on the stack. In 'D' mode, close the command line and RCL the contents to the stack. In 'P' or 'A' mode, insert 'VAR' RCL in the command line.

So there's many cases to consider, a single << RCL >> in the settings directory wouldn't really do the trick.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: newRPL: [UPDATED December-29-16] Firmware for testing available for download - Claudio L. - 01-23-2017 02:50 AM

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