MOO-cows Mailing List Archive


Re: Built in verbs.

> But this does not work with built in functions, -ie
> @verb #0:"bf_foo1 bf_foo2" tnt rxd
> verb = verb[4..length(verb)];
> return (verb)(@args);
> The solution I used was a nice long chain of elseif statements, as I did 
> not want to make seperate verbs for each when they called basically the 
> same syntax.
> Does anybody know of a better solution?

Yeah, use the builtin function call_function(function, @args...) to call it

return call_function(verb, @args);



Home | Subject Index | Thread Index