MOO-cows Mailing List Archive


Re: function_info()

On Thu, 21 Mar 1996 wrote:

> I have a suggestion for an enhancement/bug fix to function_info():
> ;function_info("");
> #-1:Input to EVAL, line 1:  Invalid argument
> ... called from built-in function eval()
> ... called from #57:eval_cmd_string (this == #2), line 18
> ... called from #57:eval*-d (this == #2), line 10
> (End of traceback)

This seems like correct behavior to me.  Though it's not documented that
the function does this in so many words, if you give it a string, and
that argument does not match the name of any known built-in function,
E_INVARG is an appropriate thing to return.

What would it return instead?

    ResComp Network Support Technician, Bursley Hall
    "Invisibility is in the eye of the beholder."
    Home Page:


Home | Subject Index | Thread Index