Errata

Learning Visual Basic .NET

Errata for Learning Visual Basic .NET

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 38
IN PRINT: Example 5-1, fourth and sixth lines

"Console.WriteLine..."

SHOULD BE:
"System.Console.WriteLine..."

Anonymous   
Printed
Page 48
first line

Chapter 7 describes branching in detail
should be
Chapter 6 describes branching in detail

Anonymous   
Printed
Page 92
Ex. 8-3

Change the member variable Date to myDate throughout the program -- Date is a keyword.

Anonymous   
Printed
Page 96
Dim Command in Constructor paragraph

"Dim timeObject as New Time();" ends with a semicolon. The semicolon should be
removed.

Anonymous   
Printed
Page 109
Line 16

Date = dt.Date
Should be:
Date = dt.Day

Anonymous   
Printed
Page 158

The syntax shown for defining an interface refers to access-modifiers. No access
modifiers are allowed except shadows. Shadows refers to the ability to have an
element in a derived class with the same name as an element in the base class,
which hides the element in the base class.

Anonymous   
Printed
Page 184
Code snippet just above "Accessing Array Elements" heading

For i = 0 to empArray.Length -1
empArray(i) = New Employee(i + 5)
i = i + 1
Next

should be:

For i = 0 to empArray.Length -1
empArray(i) = New Employee(i + 5)
Next

(remove the line "i = i + 1")

Anonymous   
Printed
Page 257
Class Tester, Run method

Dim id as Integer = 1 produces the following output:
2: One
3: Two
4: Three
5: Liberty
6: Associates
7: Inc.

should be

Dim id as Integer = 0 to produces output:
1: One
2: Two
3: Three
4: Liberty
5: Associates
6: Inc.

Anonymous