How to check for and trap a CAS error in a program?
|
12-02-2018, 02:25 AM
(This post was last modified: 12-02-2018 02:25 AM by Jacob Wall.)
Post: #6
|
|||
|
|||
RE: How to check for and trap a CAS error in a program?
One thing to remember, if you have a PPL program with an IFERR statement, there is an excellent chance that the next CAS command you use will crash your program.
Example: Code: EXPORT Demo_IFERR() You can force the error in the program above by pressing the ON key on the keyboard. If you do so, the crash/error happens when the "stddev" command is encountered. This is true for all CAS commands. Has caught me a few times now, and difficult to debug if you're not aware of this. I have written multiple substitute routines to get around the need for CAS commands as a result. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
How to check for and trap a CAS error in a program? - BruceH - 11-30-2018, 03:27 PM
RE: How to check for and trap a CAS error in a program? - parisse - 11-30-2018, 05:48 PM
RE: How to check for and trap a CAS error in a program? - Tim Wessman - 12-01-2018, 02:01 AM
RE: How to check for and trap a CAS error in a program? - BruceH - 12-01-2018, 02:48 PM
RE: How to check for and trap a CAS error in a program? - Albert Chan - 12-01-2018, 03:41 PM
RE: How to check for and trap a CAS error in a program? - BruceH - 12-02-2018, 11:28 AM
RE: How to check for and trap a CAS error in a program? - Jacob Wall - 12-02-2018 02:25 AM
|
User(s) browsing this thread: 2 Guest(s)