ERRATA LIST FOR Feldman, M.B. and Elliot B. Koffman, Ada 95 Problem Solving and Program Design, 3rd ed. Addison-Wesley, 1999. ISBN 0-201-36123-X http://www.awl.com/cseng/titles/0-201-36123-X/ Latest modification: November 30, 2010 Please submit suggested corrections to mfeldman@gwu.edu by e-mail, in the form given here, so they are easily copied and pasted into this document. "Line 3" means "3 actual lines of type from the top of the page, not counting the line with the page number. "Line -3" means "3 lines from the bottom of the page." ------------------------------------------------------------------------- PAGE LINE ISSUE 51 18 add 'WITH Spider;' before this line 162 -11 change '(2*Var1)' to (2.0 * Var1)' 162 -6 delete part d; it is identical to part c 174 -12 change 'HurlyRate' to 'HourlyRate' 179 4 change 'Exp=0' to 'Exp => 0' 4 change 'Ada.Float.Text_IO' to 'Ada.Float_Text_IO' 18 change 'Exp=0' to 'Exp => 0' 18 change 'Ada.Float.Text_IO' to 'Ada.Float_Text_IO' 181 -2 change 'Example 5.8' to 'Example 5.6' 194 -3 change " is positive" to " is negative" 195 7 'ELSE' should appear on the next line, thus ... AbsX := X; ELSE ... 229 14 change 'Screen.Screen_Width' to 'Screen.ScreenWidth' 230 16 change to Day_IO.Put (Item => WhichDay); Ada.Text_IO.New_Line; 244 -13,-12 change 'right' to 'left' in both lines 282 -6 the second parameter is incorrectly named: 'Order (X => Num1, X => Num3);' should be 'Order (X => Num1, Y => Num3);' 316 -7 change 'Ln(x)' to 'Log(x)' 324 -15 'Trial=0.0 'should be 'Trial=1.0' 349 -11,-12 change all occurrences of MOD to REM 365 -15 change 'Project 11' to 'Project 10' 381 -16 change to SUBTYPE AddressString IS String(1..AddressSize); -15 change to SUBTYPE ZipString IS String(1..ZipCodeSize); 391 15 '1 through 50' should be '1 through 10' 403 5-6 delete the word 'procedure' 413 5 change 'Largest' to 'Smallest' -7 change 'Scores(IndexOfMax)' to 'Scores(IndexOfMin)' 460 6 delete this exercise; Prog. 10.3 already solves the exercise 491 -7 change 'data' to 'date' 517 interchange Projects 2 and 3 544 -6 change 'aanother' to 'another' 555 -7 delete Project 5; it duplicates Project 4 600 6 change 'IN Natural' to 'IN Positive' 8 change 'N >= 0' to 'N > 0' -3 change 'IN Natural' to 'IN Positive' -1 change 'N >= 0' to 'N > 0' 630 -3 change 'Project 8' to 'Project 9' 652 7 remove this exercise; it duplicates exercise 3 654 remove spurious square characters from the figure