Re: "Safe" string compiler for all HP48/49/50 [Windows binaries]



On Sat, 26 May 2007 17:40:52 -0500:

If you are copying from a "Quoted-Printable" encoded version
of this post, first replace all "Equal3D" by "Equal"

It turns out that you also need to re-join "split" lines,
by removing the "Equal[newline]" which may get inserted;
i.e. split lines look like this:

StartOfLine................................Equal
......EndOfLine

Below is a small program which I actually use
on my (emulated) calculator to do this --
just copy original text, paste on calculator stack,
run program, copy "fixed" text from calculator stack.

%%HP: T(3); @ Header for file transfer by cable
@ Quoted-Printable encoding corrector for email or postings
@ (49/50 series only)
\<< 61 CHR \-> e \<< \->STR DUP e "3D" + POS
{ 13 CHR "" SREPL DROP e 10 CHR + "" SREPL DROP
e "3D" + e SREPL DROP } IFT \>> \>> 'KQP' STO

@ [End]
.