HPGCC3 Documentation 3.0 R003

Error handling

Functions

void sat3_errorsto (int errno)
 Set calculator error number.
void sat3_exiterror (int errno)
 Set calculator error number and exit the program generating an error in the calculator.

Detailed Description

This group includes functions and constants used in error-handling in the Saturn environment


Function Documentation

void sat3_errorsto ( int  errno)

Set calculator error number.

C version of the sysRPL ERRORSTO. Sets current error number.

Set the calculator error number, such that when ERRJMP is called the proper error message will be displayed. SysRPL programs can read this error number using ERROR@.

** LOW-LEVEL ROUTINE **

Parameters:
errnoCalculator error number
errnoCalculator error message number.
void sat3_exiterror ( int  errno)

Set calculator error number and exit the program generating an error in the calculator.

Set the calculator error number, then call ERRJMP.

** LOW-LEVEL ROUTINE **

Parameters:
errnoCalculator error number