3-58 Full Command and Function Reference
Input/Output:
Level 1/Argument 1 Level 1/Item 1
→
“error message”
See also: DOERR, ERRN, ERR0
ERRN
Type: Command
Description: Error Number Command: Returns the error number of the most recent calculator error.
If the most recent error was generated by DOERR with a string argument, ERRN returns
#70000h. If the most recent error was generated by DOERR with a binary integer argument,
ERRN returns that binary integer. (If the most recent error was generated by DOERR with a
real number argument, ERRN returns the binary integer conversion of the real number.) The
only exceptions to these rules are 0 DOERR and #0 DOERR, both of which set ERRN to
#31Fh and ERRM to ‘Interrupted’.
Access: !°LL
ERROR ERRN ( °is the left-shift of the Nkey).
Input/Output:
Level 1/Argument 1 Level 1/Item 1
→
#nerror
See also: DOERR, ERRM, ERR0
EULER
CAS: Return the number of integers less than an integer that are co-prime with it. (Euler’s Φ function.)
EVAL
Type: Command
Description: Evaluate Object Command: Evaluates the object.
The following table describes the effect of the evaluation on different object types.
Object Type Effect of Evaluation
Local Name Recalls the contents of the variable.
Global Name Calls the contents of the variable:
• A name is evaluated.
• A program is evaluated.
• A directory becomes the current directory.
• Other objects are put on the stack.
If no variable exists for a given name, evaluating the
name returns the name to the stack.
Program Enters each object in the program:
• Names are evaluated (unless quoted).
• Commands are evaluated.
• Other objects are put on the stack.
List Enters each object in the list:
• Names are evaluated.
• Commands are evaluated
• Programs are evaluated.
• Other objects are put on the stack.