EnhEvents.ErrorCount

[This is preliminary documentation and subject to change.]

The ErrorCount property contains a count of the syntax errors in the enhancement stream. It counts the syntax errors discovered in the last call to EnhEvents.Load or EnhEvents.AddText. This property is read-only.

Syntax

[ lCount = ] object.ErrorCount 
 

Parts

lCount
Long that receives the number of syntax errors.
object
Object expression that resolves to an EnhEvents object.

Remarks

The EnhEvents.ErrorList property contains an array of strings that describe the syntax errors. The error information includes the line number that contains the syntax error. The line number specifies the line in the enhancement stream file loaded by EnhEvents.Load.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in stream.idl.
  Import Library: Included as a resource in stream.dll.
  Unicode: Yes.

Examples

The following example displays a message box indicating the number of syntax errors currently in the enhancement stream.

Msgbox "Number of syntax errors:"+CStr(evs.ErrorCount)