Re: Problems with headers in User-RPL
- From: "James M. Prange" <jmprange@xxxxxxxx>
- Date: Fri, 30 Mar 2007 17:44:33 -0400
aletandilero@xxxxxxxxx wrote:
Hello...
I'm in a project where I have to translate a program from User-RPL to
Java language. The program is spread into 210 txt files. To try to
understand it, I'm using a program named HPUserEdit.
That should be okay, but, personally, I find it easiest to just
use my favourite text editor; even MS Notepad would suffice.
The thing is that the files have some headers, which turn into a
syntax error when run on the emulator. Some of them have this header:
// HP 48 Program Development Link Application
//
/Angle Degrees
/FractionMark .
/InstallDir
/AutoExec
//
/Var PRE
The // lines seem to be comments, so I think I may remove them safely.
But the others, which seem to be directives, I think I have to replace
them for something, but I don't know for what. Also I wanted to know
if they would mess up when any of these "little programs" calls
another.
Apparently those were written with the "PDL" (HP 48 Program
Development Link). It's been a long time since I've used it, but a
demo version is available at
http://www.hpcalc.org/details.php?id=3730 Maybe that will help.
What may well be even more helpful could be the "Program
Development Link Translator", available at:
http://www.hpcalc.org/details.php?id=3822
The other header flavor I've come across was:
%%HP: T(3)A(G)F(,);
This one I have no clue what it might do, but removing it worked just
fine.
Sometimes removing it will work just fine, but sometimes it won't.
Try a search of the Google archive of this newsgroup; maybe
something like:
http://groups.google.com/groups?as_epq=ASCII+transfer+header&as_ugroup=comp.sys.hp48
Also, there are special characters like \->, \>=, \010, \Ga...
Some I understood, like the first two of them. The other two I don't
know.
Again, you could try a search of the Google Archive of this
newsgroup, using search terms such as "translation codes" or
"digraph". Perhaps easiest would be a look at:
http://holyjoe.net/hp/tiotable.png
I've been stuck with this for a while, so if someone would help me
with it, I'd appreciate it much.
You've asked at the right place; if you still have questions, then
ask again.
Thanks in advance.
You're welcome in advance.
--
Regards,
James
.
- References:
- Problems with headers in User-RPL
- From: aletandilero
- Problems with headers in User-RPL
- Prev by Date: Problems with headers in User-RPL
- Next by Date: Re: Need little help with HPGCC and Graph
- Previous by thread: Problems with headers in User-RPL
- Next by thread: Re: Problems with headers in User-RPL
- Index(es):
Relevant Pages
|