Errata

VBScript Pocket Reference

Errata for VBScript Pocket Reference

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.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

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

Version Location Description Submitted by Date submitted
Printed Page xii
Top of page

The VBScript function UBound is not listed in table of contents. It is not
listed anywhere between pages 13-18.

Anonymous   
Printed Page xii
Top of page

The VBScript function UBound is not listed in table of contents. It is not
listed anywhere between pages 13-18.

Anonymous   
Printed Page 10
WSF typelib reference tag, (2nd example)

(Omission)
The progid form of the reference tag is much easier to use:

<reference object="ADODB.Connection" />
<reference object="CDONTS.NewMail" />
<reference object="MSWC.IISLog" />
<reference object="Scripting.FileSystemObject" />

Anonymous   
Printed Page 10
WSF typelib reference tag, (2nd example)

(Omission)
The progid form of the reference tag is much easier to use:

<reference object="ADODB.Connection" />
<reference object="CDONTS.NewMail" />
<reference object="MSWC.IISLog" />
<reference object="Scripting.FileSystemObject" />

Anonymous   
Printed Page 18
Anywhere

Omitted function UBound() from the list off Array handling functions.

Anonymous   
Printed Page 18
Anywhere

Omitted function UBound() from the list off Array handling functions.

Anonymous   
Printed Page 52
3rd paragraph

The values of IOMode listed in the OpenTextFile method of the FileSystemObject
appear to be incorrect.

This book states:

ForAppending = 0
ForReading = 1
ForWriting = 2

I could not make the file read work as expected with these values. Upon
checking "Microsoft Windows Script Host 2.0 Developer's Guide" by Gunter Born
(Microsoft Press), page 366, I found that the actual values are:

ForAppending = 8
ForReading = 1
ForWriting = 2

Mr. Born's description appears to be more accurate, as file manipulation works
as expected.

Anonymous   
Printed Page 52
3rd paragraph

The values of IOMode listed in the OpenTextFile method of the FileSystemObject
appear to be incorrect.

This book states:

ForAppending = 0
ForReading = 1
ForWriting = 2

I could not make the file read work as expected with these values. Upon
checking "Microsoft Windows Script Host 2.0 Developer's Guide" by Gunter Born
(Microsoft Press), page 366, I found that the actual values are:

ForAppending = 8
ForReading = 1
ForWriting = 2

Mr. Born's description appears to be more accurate, as file manipulation works
as expected.

Anonymous   
Printed Page 91
FormatPercent Description (2nd paragraph)

"FormatPercent returns the formatted number followed by a percentage sign (%)."

should read:

"FormatPercent returns the formatted number (multiplied by 100) followed by a percentage sign (%)."

(The FormatPercent function is used to represent a fractional value in percent.)

Anonymous   
Printed Page 91
FormatPercent Description (2nd paragraph)

"FormatPercent returns the formatted number followed by a percentage sign (%)."

should read:

"FormatPercent returns the formatted number (multiplied by 100) followed by a percentage sign (%)."

(The FormatPercent function is used to represent a fractional value in percent.)

Anonymous