Re: Problems with headers in User-RPL



On Fri, 30 Mar 2007 13:42:32 -0500:

I'm in a project where I have to translate a program
from User-RPL to Java language.

That's like Martian -> Klingon ;-)

The program is spread into 210 txt files.

Only 210? One program?

To try to understand it, I'm using a program named HPUserEdit.

Is it compatible with the original PDL?

The thing is that the files have some headers,
which turn into a syntax error when run on the emulator.

Just how do you "run on the emulator"?

Some of them have this header:

// HP 48 Program Development Link Application

Unless you have the PDL (and a real calc) now,
it would appear necessary to strip out any such
stuff added by PDL, which isn't digestible
by other programming tools.

%%HP: T(3)A(G)F(,);
Also, there are special characters like \->, \>=, \010, \Ga...

Both explained in:

"Ascii \xx symbols and %%HP headers"
http://groups.google.com/group/comp.sys.hp48/msg/52e9cc3ee2b369b8

Calc <-> PC transfer software is supposed to take care of interpreting
those headers and translating the "backslash codes" (digraphs);
any package meant to interface with an emulator
should also handle these particular details.

You can also, if you want, either drag text files directly
to the emulator window or "paste" Windows clipboard text
to the emulator stack, and then apply text import/export
programs which can reside within the emulated calc itself,
as recently suggested here:

"Transfering User RPL programs..."
http://groups.google.com/group/comp.sys.hp48/msg/3ed1cea3ec70bab4

[r->] [OFF]
.



Relevant Pages