Post Reply 
RPN and result storage in a variable
10-08-2020, 09:29 PM (This post was last modified: 10-08-2020 09:44 PM by Guenter Schink.)
Post: #4
RE: RPN and result storage in a variable
(10-08-2020 01:16 PM)hatchcanyon Wrote:  But I also need variables with "real" names, e.g. "ledtube" or "ledbulb". Can you give me an idea how to enter such strings?

I'd really suggest to get rid of RPN on the Prime. It's really not well implemented.

As far as I have experienced you need to create a variable with a longer name first before you can use it. My solution is a bit cumbersome, but it seems to work.

1. It doesn't matter what you have in the stack - that even may be empty
2. enter your variable name BUT don't press "ENTER"
3. press Sto> that is "Shift EEX"
4. acknowledge "Do you want to create a variable called xxxx"
5. get rid of what's in the entry line
6. check with "VAR" "User Variables" that your new variable exists.

An alternative, less cumbersome method, would be to create a program from which you export those names you wish to work with. It doesn't need to do something meaningful. Then these variables are accessible also from the VAR menu.

In order to store something, put the name in single qoutes and execute Sto>
To get the contents of the var simply recall its name

HTH Günter

PS: Did I mention already that the Prime is not well suited for RPN?

Edit: added the alternative method
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: RPN and result storage in a variable - Guenter Schink - 10-08-2020 09:29 PM



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