Built in verbs.
Rich Connamacher (phantom@baymoo.sfsu.edu)
Fri, 26 Apr 1996 23:14:33 PDT
> 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);
Phantom