Post Reply 
RPL That Stack
11-29-2024, 08:39 PM
Post: #4
RE: RPL That Stack
(11-29-2024 07:51 PM)c3d Wrote:  
(11-23-2024 05:22 PM)raprism Wrote:  [...]
Note that at first I was trying to make use of local variables all the times, but contrary to some HP48 examples it turned out on db48x that with my beginner level evaluation of variables 'kicked in' too often.

Local variables are evaluated on DB48x unlike RPL. This is notably because I like putting subprograms in a local variable and executing it like a regular program. This is one of the deviations from HP RPL that is both intentional and has no flag controlling it. I could certainly add such a compatibility flag. If you don't want evaluation, you can always quote the variables.
[...]
No urgent need for compatibility flag - will try to make use of quotations.

(11-29-2024 07:51 PM)c3d Wrote:  [...]
I think an alternative to your CD would be:

Code:

«
    @ Usage: { HOME sub1 subsub2 } CD
    @ Usage: { subdirhere } CD
    →Prg Evaluate
»

Thanks for your hints. This alternative looks ideal.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RPL That Stack - raprism - 11-23-2024, 05:07 PM
RE: RPL That Stack - c3d - 11-29-2024, 07:51 PM
RE: RPL That Stack - raprism - 11-29-2024 08:39 PM



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