<< Prev        Next >>

ID : 6770

ErrLvl

Function

To return the error level of a designated error.

Syntax

ErrLvl(error code)

Guaranteed Entry

Error code
Designate an error code by integer type data.

Return Value

Returns integer type data between 0 and 5.

Description

The error level corresponding to a designated error code is returned.

Attention

-

Example

'!TITLE "Acquiring Error Code Level"
' Acquisition of the error level of "Syntax error"
Sub Sample_ErrLvl

  Dim aaa As Integer

  ' Acquisition of error level
  aaa = ErrLvl( &H83500003 )

  ' Display "3" on the message output window
  PrintDbg aaa

End Sub

ID : 6770

<< Prev        Next >>