Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











ELEMENT:  <?job?>

The <?job?> tag is an XML processing instruction that tells WSH whether or not to display error messages during script execution, and whether or not to run the script debugger if an error does occur.

Syntax: <?job error="flag" debug="flag" ?>

Attribute: error
The optional error attribute can be one of the following Boolean values: "true", "1", "false", or "0". When set to true or 1, WSH will display an error message if an error occurs during script execution.

Attribute: debug
The optional debug attribute can be one of the following Boolean values: "true", "1", "false", or "0". When set to true or 1, WSH will run the script debugger if an error occurs during script execution.

The following sample code illustrates the use of this tag.

<?XML version="1.0" ?>
<!-- Filename: demo.wsf-->
<package>
  <job>
  <?job error="true" debug="true"?>
    <script type="text/vbscript">
      WScript.Echo "Hello World!"
    </script>
  </job>
</package>

 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information