<< Prev        Next >>

ID : 5129

Err.OriginalNumber

Function

This property contains original error codes.

Syntax

Err.OriginalNumber

Return Value

Value of original error codes is returned. Original error codes are integer type data.

Description

When the task error occurs, this stores the original error code that is output by systems or devices without change.

This command can read value but cannot write.

Attention

-

Example

Sub Main 
	Dim aaa As Integer
	
	On Error GoTo ErrHandler
	
	aaa = aaa / 0

	Exit Sub 
ErrHandler:
	PrintDbg Hex( Err.Number ), Hex( Err.OriginalNumber )
	
End Sub

ID : 5129

<< Prev        Next >>