Re: Undefined variables returning nil
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Undefined variables returning nil
- From: Petite Abeille <petite.abeille@...>
- Date: 2013年3月19日 23:22:04 +0100
On Mar 19, 2013, at 11:05 PM, William Sumner <prestonsumner@me.com> wrote:
> I'm talking about ALL attempted accesses of undefined variables, including table/array/class elements.
Lua has only tables. As shown, you can trap __index and decide what you want to do. It's up to you.