IFERR function on HP Prime
#1

Hi,

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

Thank you

#2

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.

#3

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



Possibly Related Threads…
Thread Author Replies Views Last Post
  HP50g: Writing a function that returns a function Chris de Castro 2 2,070 12-10-2013, 06:49 PM
Last Post: Han
  HP Prime: Dirichlet's eta function recognized but not numerically evaluated Helge Gabert 0 1,125 11-16-2013, 03:41 PM
Last Post: Helge Gabert
  Possible bug with sqrt function in the HP prime Michael de Estrada 6 2,445 11-15-2013, 12:49 PM
Last Post: Michael de Estrada
  HP-41 MCODE: The Last Function - at last! Ángel Martin 0 1,023 11-08-2013, 05:11 AM
Last Post: Ángel Martin
  [Prime] any ideas for a undo function? Stefan Dröge (Germany) 8 2,921 11-04-2013, 04:37 PM
Last Post: Damien
  HP Prime 'where' function bluesun08 11 3,301 10-29-2013, 06:56 PM
Last Post: Joe Horn
  HP Prime - Defining a function bluesun08 5 2,250 10-23-2013, 02:43 PM
Last Post: Han
  HP PRIME Function parameters steindid 2 1,415 10-11-2013, 10:20 AM
Last Post: steindid
  Hp prime list function - indexing into a list Andy B (Australia) 3 1,911 10-07-2013, 01:41 AM
Last Post: cyrille de Brébisson
  HP Prime can't find how to use partfrac function ! dg1969 3 1,588 10-04-2013, 09:25 PM
Last Post: Joe Horn

Forum Jump: