HP Forums

Full Version: IFERR function on HP Prime
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Hi,

How to use IFERR function ? What are the different error codes ?

Thank you

Mic,

From the manual, don't know if this helps

IFERR

IFERR commands1 THEN commands2 END; Executes sequence of commands1 . If an error occurs during execution of commands1, executes sequence of commands2.

IFERR ELSE

IFERR commands1 THEN commands2 ELSE commands3 END; Executes sequence of commands1 . If an error occurs during execution of commands1, executes sequence of commands2. Otherwise, execute sequence of commands3

Seems only to check for an error condition, can't find anything about any specific codes

Cheers,

Terje

Edited: 1 Dec 2013, 4:12 a.m.

hello,

there is no way at this point to get the last error code... sorry...

note: in the currently shipping version, there is a bug in IFERR, you HAVE to have an ELSE clause (even one that does nothing) else it will crash.

cyrille