[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A metatable for nil?
- From: Gavin Wraith <gavin@...>
- Date: Fri, 13 Nov 2015 10:10:13 GMT
In message <CADUw5q25F8b5+C2D3FaxzaLjLoEGm1xuYMK7ZA9jSJcbbr=diQ@mail.gmail.com>
Paul K <paul@zerobrane.com> wrote:
>> There are no doubt good reasons, but why no metatable for nil?
>
>There is, just need to use debug.setmetatable:
>http://comments.gmane.org/gmane.comp.lang.lua.general/109403
Thanks. That had passed me by.
--
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/