lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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