|
No project of this size can be completely without errors and this is no exception. It's sort of like writing a 300,000 word Visual Basic program without the benefit of a compiler to check your spelling and grammar. This page describes some improvements to the example programs and the mistakes found so far.
If you find other errors, please let me know.
| Page | Details |
| xlii | Prof. Chin (CVibes.net) noticed that the last sentence in the second paragraph basically says that assembly language is a lot better than assembly language. It should say, "It's a lot better than machine language ..."
|
| 8 | Don Williamson noticed that the second paragraph's first sentence refers to Figure 1-2 but it should refer to Figure 1-4.
|
| 112 | Howard Smith noticed that the last line before the "Displaying Graphics" section says "Timer event" when it should say "Tick event."
|
| 320 | Don Williamson noticed that the table at the top of the page lists the subtraction operator as "2" instead of "-". (That's so wrong it's almost silly.)
On the same page in the "Calculator Cleverness" box, the instructions say to select the View menu's Scientific command. On my computer that's what it's called but Don says on his the command is labeled Programmer. It may say Programmer on your system, too.
|
| 331 | Don Williamson noticed that the meaning column in the table for the op_Equality entry says "True if date1 > date2" but it should say "True if date1 = date2."
|
| Chapter 37 | Casey Jones found that Chapter 37's InvalidCharacters program did not display some whitespace and control characters correctly. Here's some code that displays these non-printable characters by showing their numeric equivalents.
Dim txt As String = ""
For Each ch As Char In Path.GetInvalidFileNameChars()
If Char.IsWhiteSpace(ch) OrElse Char.IsControl(ch) Then
txt &= "<" & Asc(ch) & "> "
Else
txt &= ch & " "
End If
Next ch
lblInvalidFileNameChars.Text = txt
txt = ""
For Each ch As Char In Path.GetInvalidPathChars()
If Char.IsWhiteSpace(ch) OrElse Char.IsControl(ch) Then
txt &= "<" & Asc(ch) & "> "
Else
txt &= ch & " "
End If
Next ch
lblInvalidPathChars.Text = txt
|
If you sign up for one of my VB Helper newsletters, you will be notified when there are updates to this book.
|