Re: HP 42S Programming Message #4 Posted by Vieira, Luiz C. (Brazil) on 8 Oct 2009, 11:21 a.m., in response to message #3 by Howard Jones
Hi, Howard;
please, make sure you did not add a 'new line' character after the "New$kg=", because it would cause the ALPHA cursor to 'jump' to the next line. I tested the lines I posted previously with my HP42S and the complete ALPHA contents used only the first, top line of the display (commonly filled with the Y-register contents, as you mentioned). I filled the X-register with as many digits as possible.
You mentioned you could do that with the HP41, right? The HP42S is not much different, though. The ALPHA register holds more digits and the LCD allows more digits to be shown in one single line, but these are advantages. Also, the ARCL X should read ARCL ST X (Stack register X) in the HP42S to avoid confusion with a possible ARCL "X" (variable named "X"), instead. So, the lines would read:
14 CLA
15 "NEW$KG="
16 ARCL ST X
17 AVIEW Please, make sure there is no NL in the end of the ALPHA string in line #15 ("NEW$KG=NL")
Success!
Luiz (Brazil)
|