Errata

VBScript in a Nutshell

Errata for VBScript in a Nutshell

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page xiii
end of the "How to Contact Us" section

At the end of the "How to Contact Us" section, change
"For more information about this book and others, including examples,
errata, and plans for future editions, see the O'Reilly web site:

http://www.oreilly.com and http://vb.oreilly.com"

to:

"For more information about this book and others, including examples,
errata, and plans for future editions, see the O'Reilly web site at:

http://www.oreilly.com

For technical information on Visual Basic programming, to participate
in VB discussion forums, or to acquaint yourself with O'Reilly's line
of Visual Basic books, you can access the O'Reilly Visual Basic web
site at:

http://vb.oreilly.com"

Anonymous   
Printed
Page xiii
"How to Contact Us" section

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/9781565927209/

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

Anonymous    Jan 01, 2001
Printed
Page 1
First sentence

The first sentence did read
"...VBScript, the scritping language..."

Now reads:

"...VBScript, the scripting language..."

Anonymous    Jan 01, 2001
Printed
Page 16
The first sentence of the third full paragraph did read:

"This assigns the value returned by the CubeIt function to the
variable x"

Now reads:

"...to the variable y".

Anonymous    Aug 01, 2000
Printed
Page 17
4th bold line of code in Example 2-2

In the 4th bold line of code in Example 2-2, the conversion from inches to millimeters should be 25.4, not 27.3.

Anonymous    Jan 01, 2001
Printed
Page 18
The second sentence in the next to last paragraph did read:

"Therefore VBScript,automatically cast intData1 as a string"

Now reads:

"...casts intDataIn1...".

Anonymous    Aug 01, 2000
Printed
Page 19
The second sentence in the next to last paragraph did read:

"Since this is the default method of passing parameters, however,
the keyword could be been omitted"

Now reads:

"...could have been omitted"

Anonymous    Aug 01, 2000
Printed
Page 20
The third sentence in the third paragraph did read

"parentheses do not cause an argument to be passed to reference
to a routine"

Now reads:

"passed by reference"

Anonymous    Aug 01, 2000
Printed
Page 25
The last sentence in the fourth paragraph did read:

"The executing the statement:"

Now reads:

"Executing the statement:"

Anonymous    Aug 01, 2000
Printed
Page 33-34
first and last lines of Example 2-12

The first and last lines of Example 2-12 have been removed. The first line was "<%", and the last line was "%>".

Anonymous    Jan 01, 2001
Printed
Page 38
The exponent of the last number in the "Double" paragraph did read

"...E-308..."

Now reads:

"...E308..."

Anonymous    Jan 01, 2001
Printed
Page 50
The second sentence in the third paragraph did read:

"... as well as to dimension two other variables."

Now reads:

"... as well as to dimension three other variables."

Anonymous    Aug 01, 2000
Printed
Page 61
last line on the page

The last line on the page did read: "...onluin..." Now reads:

"...only in..."

Anonymous    Aug 01, 2000
Printed
Page 72
The last line of code on the page did read:

<TITLE>Checking your addition...</TITLE>

Now reads:

<TITLE>Checking your division...</TITLE>

Anonymous    Aug 01, 2000
Printed
Page 82
last line in the sidebar

In the last line in the sidebar, changed "replsces" to "replaces."

Anonymous    Jan 01, 2001
Printed
Page 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..."

Anonymous    Jan 01, 2001
Printed
Page 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])

Anonymous    Jan 01, 2001
Printed
Page 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."

Anonymous    Jan 01, 2001
Printed
Page 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."

Anonymous    Jan 01, 2001
Printed
Page 253
Under the "Programming Notes" section, the third bullet item did read

"...displays the HTML source arther than..."

Now reads:

"...displays the HTML source rather than..."


Anonymous    Aug 01, 2000
Printed
Page 315
Syntax statement, last line

Changed "Next [counter]" to "Next".

Anonymous    Jan 01, 2001
Printed
Page 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".

Anonymous    Jan 01, 2001
Printed
Page 317
Last line of the For Each...Next syntax;

Changed "Next [element]" to "Next".

Anonymous    Jan 01, 2001
Printed
Page 320
second bulleted item

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

Anonymous    Jan 01, 2001
Printed
Page 367
second bulleted list item under "VBA/VBScript Differences"

The second bulleted list item under "VBA/VBScript Differences" has been deleted.

Anonymous    Jan 01, 2001
Printed
Page 367
Option Explicit Statement, Desription, line 1

Changed "to generate a compile-time error" to "to generate an error."

Anonymous    Jan 01, 2001
Printed
Page 407
Section on the Set statement

In the section on the Set statement, changed "Syntax 2" to be the same level of heading as "Syntax 1."

Anonymous    Jan 01, 2001
Printed
Page 407-411

(407-411) In the headers and footers, changed "Syntax 2" to "Set Statement".

Anonymous    Jan 01, 2001
Printed
Page 415
In the Split Function section, the line under "See Also" now reads:

Join Fuelementnction

Should read:

Join Function

Anonymous   
Printed
Page 460
first section on the page

In the first section on the page, the UCase Function was defined as "...converted to lowercase"

Now reads "...converted to uppercase".

Anonymous    Aug 01, 2000