DOCUMENT:Q305467 13-AUG-2001 [mspress] TITLE :Microsoft Windows Script Host 2.0 Developer's Guide Comments and PRODUCT :Microsoft Press PROD/VER:: OPER/SYS: KEYWORDS:kbdocfix kbdocerr ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - MSPRESS Microsoft Windows Script Host 2.0 Developer's Guide ISBN 0-7356-0931-4 ------------------------------------------------------------------------------- SUMMARY ======= This article contains comments, corrections, and information about known errors relating to the Microsoft Press book Microsoft Windows Script Host 2.0 Developer's Guide, ISBN 0-7356-0931-4. The following topics are covered: - CD-ROM: Code Error In ErrorTest2.js Sample MORE INFORMATION ================ CD-ROM: Code Error In ErrorTest2.js Sample ------------------------------------------- The sample file ErrorTest2.js found in the \WSHDevGuide\Chapter02 directory of the companion CD contains an error. This error prevents the debugger from starting at the debugger statement. Change line 22 from: "WScript.Quit(); ' Quit the script" To: "WScript.Quit();" The apostrophe was a comment character in the original VBScript, but is understood as an opening quotation mark by the JScript interpreter. Since there is no closing quotation mark, a syntax error occurs before the debugger statement is executed. Microsoft Press is committed to providing informative and accurate books. All comments and corrections listed above are ready for inclusion in future printings of this book. If you have a later printing of this book, it may already contain most or all of the above corrections. Additional query words: DEVBOOK 0-7356-0931-4 ====================================================================== Keywords : kbdocfix kbdocerr Technology : kbMSPressSearch Version : : Issue type : kbinfo ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2001.