[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Q: A way to determine if function is defined
- From: "Maciej Maczynski" <macmac@...>
- Date: Tue, 14 Mar 2000 12:28:55 -0000
Hi everybody,
Is there a method in Lua to check from within a script if the function is
defined?
I mean, before "call expression not a function" error appears.
What I figured out, is trying to invoke the function in question using
"call", providing own handler.
Does anybody know nicer solution?
Maciej