REALbasic: The Definitive Guide

Errata for REALbasic: The Definitive Guide

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 xxiii
first 4 lines

Delete the first 4 lines ("For more information... used in this book:").

Anonymous   
Printed
Page 3
first sentence

Change the first sentence to: "This chapter introduces the REALbasic workspace, also known as the IDE (for integrated development environment; see the Preface, What REALbasic Is Like)."

Anonymous   
Printed
Page 31
last code example

In the last code example, changed "Sub" to "Function" and "End Sub" to "End Function".

Anonymous    Mar 01, 2001
Printed
Page 41
third code example

In the third code example the comment symbols were omitted. The second and fourth lines now read: // ... [what to do if condition1 is true] ... // ... [what to do if condition2 is true] ...

Anonymous    Mar 01, 2001
Printed
Page 47
last paragraph of the Freqiently Asked Questions

In the last paragraph, the second sentence used to read "It is not an error refer to an array element ..." This sentence was missing the word "to." It now reads: "It is not an error to refer to an array element ..."

Anonymous    Jan 01, 2000
Printed
Page 49
third sentence in the fourth paragraph

The third sentence in the fourth paragraph should be in parentheses "(Except, of course... zero-based.)"

Anonymous   
Printed
Page 50
The second line of the third code sample did read

myArray = yourArray Now reads: myArray = yourArray // error

Anonymous    Mar 01, 2001
Printed
Page 75
The last line of the code example did read

msgbox "MyOtherWindow has " + str(j) + "buttons." Now reads: msgbox "MyOtherWindow has " + str(j) + " buttons."

Anonymous    Mar 01, 2001
Printed
Page 79
4th para, last sentence

4th para, last sentence; the first letter of the word "each" should be roman, not italic.

Anonymous   
Printed
Page 84
first line of the 2nd paragraph

In the first line of the 2nd paragraph, changed "pushButton(1)" to "pushButton1(1)".

Anonymous    Mar 01, 2001
Printed
Page 127
Fifth paragraph

Fifth paragraph: in the last sentence, replace "Finally" with "Further" and add a new ending to this paragraph: "Finally, an array wrapper class solves the problem of the unusual status of arrays in REALbasic, that they are neither a class nor a datatype; for example, you cannot declare an array of array, but you can declare an array of a class that wraps an array."

Anonymous   
Printed
Page 142
first line of the first footnote

In the first line of the first footnote, the URL was misspelled. Changed "wanado" to "wanadoo".

Anonymous    Mar 01, 2001
Printed
Page 152

References to the trick of setting the totalSeconds property to itself can all be deleted; the bug has been fixed.

Anonymous   
Printed
Page 157
last sentence of the last paragraph

The last sentence of the last paragraph, and the example, can be deleted; Insert and Append now work properly on Color arrays.

Anonymous   
Printed
Page 161
Added the following line below the third line of the last code example

mm = newMemoryBlock(len(s)+2)

Anonymous    Mar 01, 2001
Printed
Page 162
"Being Careful"

The section "Being Careful" can be deleted. The warning about not locking down memory can be moved to the start of the section, and the warning about not writing off the end of a memoryblock is no longer needed, because REALbasic now does bounds checking to ensure that this won't happen.

Anonymous   
Printed
Page 162

In both code lines, changed $FF to &hFF.

Anonymous    Mar 01, 2001
Printed
Page 218
Warning

Deleted the Warning at the bottom of the page.

Anonymous    Mar 01, 2001
Printed
Page 226

In line 1, add "or a boolean constant defined in a module" after "built-in global booleans".

Anonymous   
Printed
Page 234
second sentence in the footnote

Deleted the second sentence in the footnote.

Anonymous    Mar 01, 2001
Printed
Page 262
RGBSurface discussion

In the RGBSurface discussion, there's a new feature: change "32" to "32 or 16," and add: "other Picture instances have a nil RGBSurface." Also, delete the warning; the bug has been fixed.

Anonymous   
Printed
Page 287
The second code sample did read

canvas1.JLeft = canvas1.JLeft-2 canvas1.JTop = canvas1.JTop-2 canvas1.refresh Now reads: JLeft = JLeft-2 JTop = JTop-2 canvas1.refresh

Anonymous    Mar 01, 2001
Printed
Page 287
The third code sample did read

canvas1.JLeft = canvas1.JLeft-2 canvas1.JTop = canvas1.JTop-2 canvas1.scroll -2,-2 Now reads: JLeft = JLeft-2 JTop = JTop-2 canvas1.scroll -2,-2

Anonymous    Mar 01, 2001
Printed
Page 297
last paragraph

In the last paragraph, changed "Figure 11-20" to "Figure 11-21".

Anonymous    Mar 01, 2001
Printed
Page 340
Code example

Code example, 11th line, changed "theeend" to "theend".

Anonymous    Mar 01, 2001
Printed
Page 342
First code example

First code example, 2 lines from the end ("theField..."), the line needed to be tabbed one more to the right.

Anonymous    Mar 01, 2001
Printed
Page 412
fourth line of the first paragraph

In the fourth line of the first paragraph, changed "we don't the StaticTexts" to "we don't want the StaticTexts".

Anonymous    Mar 01, 2001
Printed
Page 414
second footnote

In the second footnote, changed the URL for Rolf Heller's CharKeyCode XFCN) to: http://mirror.apple.com/mirrors/info-mac/dev/card/key-xfcns-20.hqx

Anonymous    Mar 01, 2001
Printed
Page 432
Warning at the bottom of the page

Added the following sentence to the end of the Warning at the bottom of the page: "(Fixed in REALbasic 2.1.)"

Anonymous    Mar 01, 2001
Printed
Page 459
first line of the next-to-last paragraph

In the first line of the next-to-last paragraph, changed "simply send refer" to "simply refer".

Anonymous    Mar 01, 2001
Printed
Page 465
line 3 of the 2nd paragraph

In line 3 of the 2nd paragraph, changed the backtick after "snd" to a single quotation mark.

Anonymous    Mar 01, 2001
Printed
Page 470
line 2 of the first full paragraph

In line 2 of the first full paragraph, changed "pointing the file" to "pointing to the file."

Anonymous    Mar 01, 2001
Printed
Page 470
The 8th line of code in the 3rd code snippet did read

d = desktopFolder.child("testDB") Now reads: d = openrealDatabase(desktopFolder.child("testDB"))

Anonymous    Mar 01, 2001
Printed
Page 478
4th bullet paragraph

4th bullet paragraph, second line, added a hyphen at the end of the line.

Anonymous    Mar 01, 2001
Printed
Page 488
line 3 of the 3rd full body paragraph

In line 3 of the 3rd full body paragraph, changed "you have do this" to "you have to do this."

Anonymous    Mar 01, 2001
Printed
Page 490

First and second paragraphs, "EnableDrag" should be "DragRow".

Anonymous   
Printed
Page 500

Deleted the last paragraph.

Anonymous    Mar 01, 2001
Printed
Page 571

In the next-to-last code block, changed "206.74.122.3" to "dict.org".

Anonymous    Mar 01, 2001
Printed
Page 576
The fourth line of the first code sample did read

ss = nthfield(reply, CRLF), i) Now reads: ss = nthfield(reply, CRLF, i)

Anonymous    Mar 01, 2001
Printed
Page 576
The 16th line of the first code sample did read

me.write("Quit" + CRLF)) Now reads: me.write("Quit" + CRLF)

Anonymous    Mar 01, 2001
Printed
Page 600
The URL for EightyRez is now:

http://www3.shore.net/~gmcgath/EightyRez.html

Anonymous    Mar 01, 2001
Printed
Page 662
Colophon: the first line of the second paragraph used to read

"Edie Freedman designed the cover of this book, using a 19th-century engraving from the Dover Pictorial Archive." It now reads: "Hanna Dyer designed the cover of this book, using a 19th-century engraving from the Dover Pictorial Archive, based on a series design by Edie Freedman."

Anonymous    Dec 01, 1999