lua-users home
lua-l archive

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


> if I call f.abc() where .abc does not exist,

Sorry, but a basic question from a Lua beginner, not in "Lua tricks
state" yet, sorry... . (and I do not really see how you can call this
solution approach "simple" :) ).

I assume, you do NOT have any access to f, e. g. f would be a module
loaded from some external source?

(as if you would have the table f defined INSIDE this lua file, then
it should be very straight forward just to add an additional function
f.abc(...)?)