The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

tempusfugit (144) [Avatar] Offline
#1
Listing 4.11 Drawing text labels (p.102-103)

Third line of code is

let textDistance = 150.0

but later in the code "labelDistance" is used.

Change third line to

let labelDistance = 150.0

The online source code at
http://www.functional-programming.net/sources.aspx
already reflects this.
Tomas Petricek (160) [Avatar] Offline
#2
Re: Listing 4.11 Drawing text labels
Hi,
thanks for the feedback - it'll be corrected in the final version.

Tomas