Python to RPN converter
|
02-20-2018, 02:28 PM
(This post was last modified: 02-20-2018 02:43 PM by StephenG1CMZ.)
Post: #30
|
|||
|
|||
RE: Python to RPN converter
I have a couple of queries, which may be obvious to anyone that has used HP42 before.
First, with any code formatted like this, I am finding that the converted code starts with a label followed by a RTN. I seem to have to delete the RTN for the program to execute. I presume I am doing something wrong. I tried moving the LBL but so far without success. Second, if I include LOCAT() in the source, I get a Label Not Found error executing the program. I guess that means free42's LOCAT is not available to Python. I am sure there must be some way of using it, but being new to the 42 I haven't yet figured it out. I tried creating LOC8 which called LOCAT, but haven't figured out the 42 usage yet. Code:
Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)