ISBN : 978-93-5213-162-4
I have issues with getColor function used on page 343.
Can you be more specific, what issues do you have?
You’re having trouble finding the errata for that book because to the best of my knowledge, there isn’t one.
What issue can we help you with in regard to the getColor function?
The page says that they are redefining the Turtle constructor that was used earlier.
What it seems that the page has missed out, is using the constructor to create the new raph object.
var raph = new Turtle("Raphael", "Red");
getColor code on the page should now work after that.
You’ll be pleased to know that the 2nd edition of the book solves that problem on page 462, by including the extra code line that I posted above.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.