lua-users home
lua-l archive

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


In message <CAC7Su76cXXxkGZ9Cj-FF7bhMsreW2q5Vt+4MBwrBrRe9t5nJMA@mail.gmail.com>
          Rob Edmunds <sheeponmintsauce@gmail.com> wrote:

>I think I have found an error in the code on page 86. It states:
>
>function rest (left, right, bottom, up)
>return function (x, y)
>return left <= x and x <= right and
>bottom <= x and x <=up
>end
>end
>
>I assume the "bottom <= x and x <=up" should actually be "bottom <= y and y
><=up". I thought I would send this to you, incase you need it for the
>errata list.

In my copy this correction has already been pencilled in so I must presume
that it has already been brought to public notice.

--
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/