Illustration of Rect program in book is misleading

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Illustration of Rect program in book is misleading

culchie
In the first MIT paperback edition 2008 on page 101 (sic) there is a illustration of the Rect program (figure 5.11).
In it, it is indicated that the rectangle drawn is 16 pixels wide and 50 pixels long.
Underneath this figure it is stated:
Note that the program is correct. Thus if it does not work properly it means that the computer platform on which it runs...is buggy
However the supplied test scripts both draw a rectangle 16 wide and 4 pixels long.
Loading...