[DGD]nill instead of error on function name typo...
Felix A. Croes
felix at dworkin.nl
Thu Jun 7 20:36:13 CEST 2001
"Michael J. Bacon" <mj.bacon at gte.net> wrote:
> Pulled my hair out for a few seconds looking for the reason why a function
> wasn't returning the value it should when I noticed I had fat fingered the
> function name, "o->oof();" instead of "o->foo();" for example. Is there a
> way to get the engine to throw an error in such a situation?
Redefine call_other() in the auto object, and let it check whether the
function exists before calling it.
Regards,
Dworkin
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list