lua-users home
lua-l archive

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


Good! I think this way is more concise and eliminate misinterpretations.

--
Milano Carvalho

From: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Reply-To: lua-l@tecgraf.puc-rio.br
To: Multiple recipients of list <lua-l@tecgraf.puc-rio.br>
Subject: Re: settable Date: Fri, 13 Sep 2002 11:51:53 -0300

Maybe we should "unify" the names __index/__gettable (and
__newindex/__settable). We may think that __index is called when a[i]
"fails": for a table, a[i] fails when the table doesn't have that key;
for a userdata, it always fails...

-- Roberto


_________________________________________________________________
Converse com seus amigos online, faça o download grátis do MSN Messenger: http://messenger.msn.com.br