lua-users home
lua-l archive

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



On Jun 27, 2008, at 10:37 PM, Greg Hill wrote:

I'm not quite sure how to use it. The following code snippet didn't work for me.

Hmmm... yes... one cannot overwrite the primitive 'add' when both operands are numeric:
http://www.lua.org/manual/5.1/manual.html#pdf-getmetatable