HP Forums
Think you know your HP-41? - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: Think you know your HP-41? (/thread-14168.html)



Think you know your HP-41? - Gene - 12-14-2019 02:02 AM

This is from the past, but fun. :-)

Do the following:

shift GTO . .
PRGM (on)
shift LBL ALPHA QUARK ALPHA
PRGM (off)
ALPHA
, (just type a comma)
shift ASTO ST X
PRGM (on)
PRGM (off)

Why does the display show what it does? I thought all we typed was a comma?


RE: Think you know your HP-41? - Thomas Okken - 12-14-2019 02:16 AM

Neat! It works with period and colon, too. And the other text doesn't have to be a program line, either:

ALPHA : ASTO X CLA ABCDEFGHIJKL ALPHA

shows _:

ALPHA ALPHA

now shows L:


RE: Think you know your HP-41? - Ángel Martin - 12-14-2019 06:17 AM

he, he, ... peculiar little bugger indeed. Not a bug, since the phantom char is *not* really in the X-reg (only shown on the LCD) - so if you do X<>Y, X<>Y it's gone. But it's back there after pressing PRGM twice like the first time.

Playing around a little more we see it's the last ALPHA character "sticking" to the LCD, "K" from LBL "QUARK" but also happens with LCD flashing messages on startup. The only condition for it to happen is that X has the radix character, so this is a parsing error (but not a bug!). Remarkable, time to look at the source code....


RE: Think you know your HP-41? - Gene - 12-14-2019 02:05 PM

V10N7P19 of the PPC Journal is where I found this.

It was certainly not original with me, but I thought it interesting. :-)