Type: | Command |
|
| |
Description: | Clear Last Error Number Command: Clears the last error number so that a subsequent execution | |||
| of ERRN returns # 0h, and clears the last error message. |
| ||
Access: | !°LLERROR ERR0 | ( °is the | ||
Input/Output: | None |
|
| |
See also: | DOERR, ERRM, ERRN |
|
| |
ERRM | Command |
|
| |
Type: |
|
| ||
Description: | Error Message Command: Returns a string containing the error message of the most recent | |||
| calculator error. |
|
| |
| ERRM returns the string for an error generated by DOERR. If the argument to DOERR was 0, | |||
| the string returned by ERRM is ‘Interrupted’. |
|
| |
Access: | !°LLERROR ERRM | ( °is the | ||
Input/Output: |
|
|
|
|
|
|
|
|
|
|
| Level 1/Argument 1 |
| Level 1/Item 1 |
|
|
|
|
|
|
|
| → | “error message” |
| The program |
| ||
Example: | « IFERR + THEN ERRM END » returns "Bad Argument Type" to level 1 | |||
| if improper arguments (for example, a complex number and a binary integer) are in levels 1 and 2. | |||
See also: | DOERR, ERRN, ERR0 |
|
| |
|
|
|
|
|
ERRN | Command |
|
| |
Type: |
|
| ||
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: | !°LLERROR ERRN | ( °is the | ||
Input/Output: |
|
|
|
|
|
|
|
|
|
|
| Level 1/Argument 1 |
| Level 1/Item 1 |
|
|
|
|
|
|
|
| → | #nerror |
|
|
| ||
Example: | The program « IFERR + THEN ERRN END » returns # 202h to level 1 if improper | |||
| arguments (for example, a complex number and a binary integer) are in levels 1 and 2. | |||
See also: | DOERR, ERRM, ERR0 |
|
| |
|
|
|
|
|
EULER |
|
|
|
|
Type: | Function |
|
| |
Description: | For a given integer, returns the number of integers less than the integer that are | |||
| integer. (Euler’s Φ function.) |
|
| |
Access: | !ÞINTEGER |
|
| |
Input: | A | |||
Output: | The number of positive integers, less than, and | |||
Flags: | Exact mode must be set (flag |
|
| |
| Numeric mode must not be set (flag |
|
|