Error Handling Group

HostExplorer Programming

Error Handling Group

3270 5250 VT

Err Object—The following is not supported by Hummingbird Basic. Can be found in Microsoft Visual Basic (simulates the occurrence of an error).

Err[.Number]—The error code for the last error event.

Err.Description—The description of the last error event.

Err.Source—The error-source file name of the last error event.

Err.HelpFile—The Help file name of the last error event.

Err.HelpContext—The Help context ID of the last error event.

Err.Clear—Clears the last error event.

Err.Raise—Raises an error event.

Err.LastDLLError—For 32-bit Windows, returns the error code for the last DLL call. For 16-bit Windows, always returns 0.

Error—Returns the error message that corresponds to the specified error code.

On Error—Specifies the location of an error-handling routine within the current procedure.

Resume—Resumes execution after an error-handling routine is finished.