How HP48 ASCII headers are supposed to work
|
09-06-2024, 07:00 PM
Post: #1
|
|||
|
|||
How HP48 ASCII headers are supposed to work
I'm kinda of a noob trying to understand some UserRPL bugs in order to fix them.
The bug in question happens in a program that stores equations as strings to later retrieve them. The header used in the original program is : Code: %%HP: T(3)A(R)F(.); The bug happens when evaluating an equation with arguments in a calculator set with Code: F(,) Consider this program: Code:
If I transfer it to the calculator, I get a STR\-> Error because the argument separator doesn't match the expected ";". However, if I manually type the program in the calculator and leave it in the stack, the argument separator correctly changes when the fraction mark changes (FLG 51): As I understand, the calculator correctly changes the argument separator for program object types but not for strings, which is how programs are transferred to the calculator. So what I want to know is: isn't that the whole point of the header ? Shouldn't it tell the calculator how to parse the incoming program in string form ? Otherwise, what's the point of it ? Sorry for the long post and thank you in advance to anyone who can shed a light on this. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
How HP48 ASCII headers are supposed to work - vcolella - 09-06-2024 07:00 PM
RE: How HP48 ASCII headers are supposed to work - BruceH - 09-06-2024, 11:29 PM
RE: How HP48 ASCII headers are supposed to work - vcolella - 09-07-2024, 05:00 AM
RE: How HP48 ASCII headers are supposed to work - Joe Horn - 09-08-2024, 12:26 AM
RE: How HP48 ASCII headers are supposed to work - vcolella - 09-08-2024, 11:56 PM
|
User(s) browsing this thread: 2 Guest(s)