Error Handling

The following values are returned by various operations when an error occurs. All error values are less than or equal to zero.

Error Description
WFONTERR-UNSUPPORTED This error indicates that the current host system does not use fonts and the W$FONT routine is not supported.
WFONTERR-CANCELLED This error indicates that the dialog box used by WFONT-CHOOSE-FONT was canceled by the user.
WFONTERR-FONT-NOT-FOUND This error indicates that no font was found that matched the requested font.
WFONTERR-INVALID-HANDLE T his error indicates that the value in FONT-HANDLE does not correspond to an existing font.