
Page 21-65
ERRM
This function returns a character string representing the error message of the
most recent error. For example, in Approx mode, if you try
0Y$
@ERRM
,
you get the following string:
“Infinite Result”
ERR0
This function clears the last error number, so that, executing ERRN afterwards,
in Approx mode, will return # 0h. For example, if you try
0Y$
@ERR0 @ERRN
, you get # 0h. Also, if you try
0Y$
@ERR0 @ERRM
, you get the empty string “ “.
LASTARG
This function returns copies of the arguments of the command or function
executed most recently. For example, in RPN mode, if you use:
3/2`
, and then use function LASTARG (
@LASTA
), you will get the
values 3 and 2 listed in the stack. Another example, in RPN mode, is the
following:
5U`
. Using LASTARG after these entries produces a 5.
Sub-menu IFERR
The
@)IFERR
sub-menu provides the following functions:
These are the components of the IFERR … THEN … END construct or of the
IFERR … THEN … ELSE … END construct. Both logical constructs are used
for trapping errors during program execution. Within the
@)ERROR
sub-menu,
entering
„
@)IFERR
, or
‚
@)IFERR
, will place the IFERR structure components in
the stack, ready for the user to fill the missing terms, i.e.,
The general form of the two error-trapping constructs is as follows:
Содержание 49g+
Страница 1: ...hp 49g graphing calculator user s guide H Edition 4 HP part number F2228 90006 ...
Страница 197: ...Page 5 30 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Страница 377: ...Page 11 55 Function KER Function MKISOM ...
Страница 457: ...Page 13 26 In the right hand side figure above we are using the line editor to see the series expansion in detail ...
Страница 775: ...Page 26 10 the location of the backup battery in the top compartment at the back of the calculator ...
Страница 838: ...Page L 5 ...