dblerror

Issue a trappable Synergy DBL error

WSupported on Windows
USupported on Unix

 

 

void dblerror(int error)
void dblerror2(int error, char *string)
void dblerror3(int error, char *string1, char *string2)

Arguments

error

The number of the Synergy DBL error to generate.

string
string1
string2

An optional support string for the error.

Discussion

The dblerror function issues a trappable Synergy DBL error to the Synergy DBL subroutine that was most recently active.

The support string is only accessed if the error message associated with error requires it. No return is made from this routine. An error is generated in the most recently active routine.

Errors are defined by mnemonic, not number. The Synergy Errors tab contains a complete list of Synergy runtime errors.

On OpenVMS, the syntax for dblerror is

void dblerror(int, char*, char*)

Examples

The following example generates an $ERR_ARGSIZ error.

dblerror(6)