Microsoft® Windows® Script Component <?component?> |
Script Component Reference |
Specifies attributes for error handling.
Syntax
<?component error="flag" debug="flag" ?>
Values
flag
A Boolean value: "true" or "false," 1 or 0, or "yes" or "no." The default value for all attributes is false.
Remarks
Because script components are used as COM components, they normally run silently. However, while you are developing your script component file, you might find it useful to be notified about errors in the file. You can specify these types of error notification:
- error Set this to true to allow error messages for syntax or run-time errors in the script component file.
- debug Set this to true to enable debugging. If this debugging is not enabled, you cannot launch the script debugger for a script component in any way.
Example
<?component error="true" debug="true" ?>