<< Prev        Next >>

ID : 6766

Err.Level

Function

This property contains an error level of task error.

Syntax

Err.Level

Return Value

Read the error level of a task error. The error level is an integer type data ranging from 0 and 5.

Description

Store the error level of a task error at the error occurrence.
This command can readout values but cannot write in.

Attention

-

Example

Sub Main 
  Dim aaa As Integer

  On Error GoTo ErrHandler

  aaa = aaa / 0

  Exit Sub 
ErrHandler:
  PrintDbg Err.Level

End Sub

ID : 6766

<< Prev        Next >>