[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: PiL3: error in code snippet
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 24 Oct 2013 11:01:27 -0200
> 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