Post Reply 
A Free42 (and HP42S) tricky question
09-24-2020, 12:31 PM (This post was last modified: 09-24-2020 12:35 PM by Thomas Okken.)
Post: #2
RE: A Free42 (and HP42S) tricky question
EDIT doesn't halt program execution. I don't think this is explicitly mentioned anywhere, but only a few instructions are supposed to cause program execution to halt — STOP, PROMPT, INPUT, RTN with no pending returns, VIEW and AVIEW with flag 21 set and flag 55 clear, and GETKEY and PSE.

The only way to get EXIT to resume program execution is using the programmable menu, but doing that would interfere with the matrix editor. If you really want, you could set up the programmable menu to mimic the matrix editor's menu, since all the matrix editor menu items are programmable. That would have the side effect of interfering with the use of any other menus while using the matrix editor, so I would not recommend that, either.

I would recommend this:

Code:
01▸LBL "DAT"
02 3
03 ENTER
04 NEWMAT
05 EDIT
06 "Enter data; R/S"
07 ├" to end"
08 PROMPT
09 EXITALL
10 use data here...
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: A Free42 (and HP42S) tricky question - Thomas Okken - 09-24-2020 12:31 PM



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