Post Reply 
HP 35S Error Handling
10-28-2017, 04:04 PM
Post: #1
HP 35S Error Handling
Is there a way to handle an error without halting a program? For example the following will produce an INVALID (I) message if there is no value in (i) and halt the program:

Code:

D001 LBL D
D002 INPUT I
D003 RCL (I)
D004 RTN

The same error also applies to equations:

Code:

[1,0,0]x(I)►N

I am looking for a way to let the user know that there was an error and to try again. Any help would be much appreciated.

I did notice that execution is halted at the offending line and if R/S is pressed the error will come up again. I can put a new value in I and if there is a value in the new (I) the program will continue to run. Or I can manually put a value in (I) and continue that way. Both of these solutions work but are not optimal.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 35S Error Handling - JeremyBeck - 10-28-2017 04:04 PM
RE: HP 35S Error Handling - Dieter - 10-31-2017, 05:57 PM
RE: HP 35S Error Handling - JeremyBeck - 11-02-2017, 11:22 PM
RE: HP 35S Error Handling - Dieter - 11-03-2017, 07:38 AM



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