IFERR function on HP Prime



#4

Hi,

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

Thank you


#5

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.


#6

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,139 12-10-2013, 06:49 PM
Last Post: Han
  HP Prime: Dirichlet's eta function recognized but not numerically evaluated Helge Gabert 0 1,155 11-16-2013, 03:41 PM
Last Post: Helge Gabert
  Possible bug with sqrt function in the HP prime Michael de Estrada 6 2,532 11-15-2013, 12:49 PM
Last Post: Michael de Estrada
  HP-41 MCODE: The Last Function - at last! Ángel Martin 0 1,071 11-08-2013, 05:11 AM
Last Post: Ángel Martin
  [Prime] any ideas for a undo function? Stefan Dröge (Germany) 8 3,064 11-04-2013, 04:37 PM
Last Post: Damien
  HP Prime 'where' function bluesun08 11 3,436 10-29-2013, 06:56 PM
Last Post: Joe Horn
  HP Prime - Defining a function bluesun08 5 2,317 10-23-2013, 02:43 PM
Last Post: Han
  HP PRIME Function parameters steindid 2 1,455 10-11-2013, 10:20 AM
Last Post: steindid
  Hp prime list function - indexing into a list Andy B (Australia) 3 1,974 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,654 10-04-2013, 09:25 PM
Last Post: Joe Horn

Forum Jump: