lua-users home
lua-l archive

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


> Hi,

> Is it possible to send messages to functions?

> I need to extend functions as first-class objects.

you can use debug.setmetatable to set a metatable for function value.

ks_isaf@126.com