Division by 0 (zero) in an App
|
03-27-2017, 06:59 AM
Post: #2
|
|||
|
|||
RE: Division by 0 (zero) in an App
(03-26-2017 09:48 PM)Bob Frazee Wrote: Most of the programming I've done has been with Apps. In a "hpprgm", division by 0 is flagged as "X\0". In an App, it dumps you to the home screen, and tells you nothing. It also appears, that in general, the error messages on programming mistakes are not as good on the Apps programming side, as they are on the regular programming side (hpprgm). The division by 0 anomaly has existed for a long time. I was wondering if improving App error message creation is at least being considered? Apps do not have any means of returning results, including error messages, unlike non-app programs. You can still debug an app by inserting DEBUG statements into your code. This will trigger the debugger to help you trace the errors. That said, if you need to trap errors, consider IFERR blocks. But in sum, you are right -- apps require you to be much more vigilant about making sure your code behaves as intended from the design stage. Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Division by 0 (zero) in an App - Bob Frazee - 03-26-2017, 09:48 PM
RE: Division by 0 (zero) in an App - Han - 03-27-2017 06:59 AM
RE: Division by 0 (zero) in an App - cyrille de brébisson - 03-28-2017, 05:55 AM
RE: Division by 0 (zero) in an App - Bob Frazee - 03-28-2017, 11:37 PM
RE: Division by 0 (zero) in an App - Han - 03-28-2017, 11:47 PM
RE: Division by 0 (zero) in an App - cyrille de brébisson - 03-29-2017, 05:44 AM
RE: Division by 0 (zero) in an App - Bob Frazee - 03-30-2017, 12:45 AM
RE: Division by 0 (zero) in an App - Han - 03-30-2017, 01:15 AM
RE: Division by 0 (zero) in an App - Bob Frazee - 04-02-2017, 08:06 PM
RE: Division by 0 (zero) in an App - Han - 04-02-2017, 10:39 PM
RE: Division by 0 (zero) in an App - Bob Frazee - 04-03-2017, 11:44 PM
RE: Division by 0 (zero) in an App - Han - 04-04-2017, 03:52 AM
|
User(s) browsing this thread: 1 Guest(s)