The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Long alpha message blocks INPUT prompt on HP42S
11-04-2018, 05:28 AM
Post: #1
Long alpha message blocks INPUT prompt on HP42S
I've just noticed a nice feature with the HP42S/Free42's INPUT command. If you put some text in the alpha register then do an AVIEW prior to an INPUT, you get the alpha message on the top line of the HP42S display and the input prompt on the second line of the display - nice.

00 LBL "ABC"
01 "VV will appear"
02 ├" below"
03 AVIEW
04 INPUT "VV"
05 RTN

However there seems to be a pitfall. If the alpha message takes up two lines, then you won't see the subsequent prompt generated by INPUT. This is because the input prompting area on the second (bottom-most) line of the HP42S display is occupied by the multiline alpha string and the INPUT command doesn't seem to clear it. So you never see the prompt, unless you hit backspace.

00 LBL "ABC"
01 "VV will appear"
02 ├" below"
03 ├" good luck" <--- extra line making the display wrap onto second line
04 AVIEW
05 INPUT "VV"
06 RTN

Has anybody noticed this before? Is this a quirk, bug or feature to be taken advantage of? I've only tested on Free42 - does the real HP42S behave the same?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Long alpha message blocks INPUT prompt on HP42S - tcab - 11-04-2018 05:28 AM



User(s) browsing this thread: 4 Guest(s)