May 13, 2010
10:49 p.m.
On 13/05/2010 22:13, Andrei Stebakov wrote:
When I copy and paste code snippets from the book, the compiler complains about the minus signs (which is different character from what Pharo expects):
For example the line from the book: (j > 1) ifTrue: [ (cells at: i at: j â 1) toggleState]. I have to change to (with "short" minus sign) (j > 1) ifTrue: [ (cells at: i at: j - 1) toggleState]. Otherwise the method doesn't get accepted. I wonder if this is a PDF issue and if it could be corrected?
Looks like the pdf is using the unicode minus character instead of the ascii dash (which Pharo uses for minus) which are not the same. I wouldn't like to argue about which is in the wrong here ;)