Programming with Reflection

image\rwnprg32.gif ReportErrors property

 

Syntax

object.ReportErrors
object.ReportErrors = Value

Works with

image\r124.gif

Data type

Boolean

 

Description

Returns (first syntax line) or specifies (second syntax line) whether Reflection Basic error messages and DOS error messages (including critical error messages such as printer errors that request an abort or retry) are reported to the user. Procedure execution stops when the error occurs.

Notes

If the Reflection Basic Editor is open, error messages will appear during script execution regardless of the value of this property.

This property has no effect on Reflection Visual Basic macros. You can accomplish the same effect by using On Error to go to an error handling routine, and placing an Exit Sub statement in that routine.

The property remains in effect throughout the current session.

Values

The default value is True.

The value of this property is not saved to a settings file.

 

image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this property