PiL3: error in code snippet
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: PiL3: error in code snippet
 
- From: Lorenzo Donati <lorenzodonatibz@...>
 
- Date: 2013年10月23日 19:51:40 +0200
 
Hi!
I'm just browsing my new shiny (~3 weeks) copy of PiL3 (PDF version) and
I think I found an error in a code snippet.
At page 37 the first snippet reads:
while some_condition do
 ::redo::
 if some_other_condition then goto continue
 else if yet_another_condition then goto redo
 end
 <some code>
 ::continue::
end
I guess that `else if` should be `elseif` instead.
Cheers!
-- Lorenzo
P.S.: Awesome book! Thanks Roberto!
-- 
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments