VBScript in a Nutshell by Paul Lomax, Matt Childs, & Ron Petrusha This page lists the changes made in the 1/01 printing. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification (xiii) The text of the "How to Contact Us" section has been updated. It now reads: How To Contact Us The information in this book has been tested and verified, but you may find that features have changed (or even that we have made mistakes!). You can send any errors you find, as well as suggestions for future editions, to: O'Reilly & Associates, Inc. 101 Morris Street Sebastopol, CA 95472 (800) 998-9938 (in the United States or Canada) (707) 829-0515 (international/local) (707) 829-0104 (fax) There is a web page for this book, where we list any errata, examples, and additional information. You can access this page at: http://www.oreilly.com/catalog/vbscriptian/ To ask technical questions or comment on the book, send email to: bookquestions@oreilly.com For more information about our books, conferences, software, Resource Centers, and the O'Reilly Network, see our web sites at: http://www.oreilly.com and http://vb.oreilly.com (1) The first sentence did read: "...VBScript, the scritping language..." Now reads: "...VBScript, the scripting language..." {17} In the 4th bold line of code in Example 2-2, the conversion from inches to millimeters should be 25.4, not 27.3. [33-34] The first and last lines of Example 2-12 have been removed. The first line was "<%", and the last line was "%>". (38) The exponent of the last number in the "Double" paragraph did read: "...E-308..." Now reads: "...E308..." (82) In the last line in the sidebar, changed "replsces" to "replaces." (171) In the second table on the page, the bottom entry in the right column did read: "Moves the focus to the textbox control..." Now reads: "Moves the focus to the checkbox control..." {205} In the CreateObject Function section, the CreateObject syntax statement was missing. The following line has been inserted below the "Syntax" subheading: CreateObject(servername.Typename [, Location]) {213} Under "Rules at a Glance," the first bullet did read: "The calculation performed by DateDiff is always date2-date1. Therefore, if date1 chronologically precedes date2, the value returned by the function is negative." Now reads: "The calculation performed by DateDiff is always date2-date1. Therefore, if date1 chronologically follows date2, the value returned by the function is negative." (219) Day Function, dateexpression parameter description; Changed "The path of the directory to set as the new default directory" to "Any expression capable of conversion to a Date." (315) Syntax statement, last line; Changed "Next [counter]" to "Next". (316) Code in 1st bulleted item of Prog Tips & Gotchas section; Changed "Next iMinute" to "Next". Changed "Next iHour" to "Next". Changed "Next iDay" to "Next". (317) Last line of the For Each...Next syntax; Changed "Next [element]" to "Next". {320} In the second bulleted item, changed "...parameters are 1..." to "...parameters are -1..." In addition, the 3-line block of code that began "Const ForReading = 1" has been changed to the following: Const TristateTrue = -1 Const TristateFalse = 0 Const TristateUseDefault = -2 <367> The second bulleted list item under "VBA/VBScript Differences" has been deleted. (367) Option Explicit Statement, Desription, line 1; Changed "to generate a compile-time error" to "to generate an error." (407) In the section on the Set statement, changed "Syntax 2" to be the same level of heading as "Syntax 1." (407-411) In the headers and footers, changed "Syntax 2" to "Set Statement".