lua-users home
lua-l archive

number of parameters of a function

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


Hi all,
this may have been asked before but my search didn't
come up with something i need.
a little bit of meta programming. given a function, say:
local function foo(bar, baz)
-- whatever
end
how can i determine the number of parameters this function
needs?
TIA.
-- 
salud,
eyan
http://www.eyan.org

AltStyle によって変換されたページ (->オリジナル) /