Q: A way to determine if function is defined

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Q: A way to determine if function is defined

Maciej Maczynski
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


Reply | Threaded
Open this post in threaded view
|

Re: Q: A way to determine if function is defined

Luiz Henrique de Figueiredo
>From [hidden email]  Tue Mar 14 09:25:39 2000
>From: [hidden email] (Erik Hougaard)
>
>What is the status on 3.3 - That version should give better error
>messages ?

We are still working on this.
--lhf