HP48 programming: use values from stack in expression
|
11-30-2018, 02:47 PM
Post: #1
|
|||
|
|||
HP48 programming: use values from stack in expression
Hello all
I'm trying to write a simple program for the HP48. The program should take two values from the stack and put an expression back on the stack that contains these values. For example: take 2 and 3 and return '2+3'. With 2 and 3 as input, I tried << -> a b 'a+b' >> which returns 5 and << -> a b << 'a+b' >> >> which returns 'a+b'. And << -> a b << 'a+b' EVAL >> >> returns 5 again (of course)... Thanks for any help! Beat |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP48 programming: use values from stack in expression - Beat - 11-30-2018 02:47 PM
RE: HP48 programming: use values from stack in expression - Thomas Klemm - 11-30-2018, 09:14 PM
RE: HP48 programming: use values from stack in expression - SammysHP - 11-30-2018, 10:21 PM
RE: HP48 programming: use values from stack in expression - Giuseppe Donnini - 12-01-2018, 05:05 AM
RE: HP48 programming: use values from stack in expression - SammysHP - 12-01-2018, 06:12 AM
RE: HP48 programming: use values from stack in expression - Thomas Klemm - 12-01-2018, 02:06 PM
RE: HP48 programming: use values from stack in expression - Beat - 12-02-2018, 11:03 AM
RE: HP48 programming: use values from stack in expression - Giuseppe Donnini - 12-04-2018, 02:44 AM
RE: HP48 programming: use values from stack in expression - Thomas Klemm - 12-05-2018, 04:11 AM
RE: HP48 programming: use values from stack in expression - Giuseppe Donnini - 12-05-2018, 03:49 PM
|
User(s) browsing this thread: 3 Guest(s)