Post Reply 
42S "reserved" flags
01-15-2018, 08:39 PM
Post: #6
RE: 42S "reserved" flags
(01-15-2018 07:20 PM)Gene Wrote:  Some are explained here... From the Free 42 manual for the 42s: http://thomasokken.com/free42/42s.pdf

Code:
24: If this flag is set the calculator will ignore error messages. “Out of Range” will appear as 9.99999999999E499 in the HP-42S 
and as 1.7977E308 in Free42. This is important if you want to prevent an unwanted stop during a program.

Cave! As on the HP41, with flag 24 set the 42s only ignores overflows, but no other errors. This flags is still set after an overflow has occured. In this case the largest possible number is returned, i.e. 9,99999999999 E+499 on a real 42s, or 1 E+6145 on Free42 Decimal, and obviously 1,79...E+308 on Free42 Binary.

The general error-ignore-flag both on the 41 and the 42s is flag 25. If this flag is set and an error occurs this operation is ignored and the program continues. Also flag 25 is cleared so that you can check whether an error has occured or not.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
42S "reserved" flags - Dave Britten - 01-15-2018, 04:24 PM
RE: 42S "reserved" flags - grsbanks - 01-15-2018, 05:35 PM
RE: 42S "reserved" flags - Dave Britten - 01-15-2018, 05:59 PM
RE: 42S "reserved" flags - Dieter - 01-15-2018, 08:46 PM
RE: 42S "reserved" flags - Dave Britten - 01-16-2018, 01:08 PM
RE: 42S "reserved" flags - Gene - 01-15-2018, 07:20 PM
RE: 42S "reserved" flags - Dieter - 01-15-2018 08:39 PM
RE: 42S "reserved" flags - Thomas Okken - 01-15-2018, 07:59 PM
RE: 42S "reserved" flags - Gene - 01-15-2018, 10:09 PM
RE: 42S "reserved" flags - Dieter - 01-15-2018, 10:40 PM
RE: 42S "reserved" flags - Gene - 01-15-2018, 10:42 PM
RE: 42S "reserved" flags - Sylvain Cote - 01-16-2018, 01:18 AM



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