lua-users home
lua-l archive

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


> 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.

Many thanks for the feedback (and the compliment)!

-- Roberto