[Prev][Next][Index][Thread]

# Re: Built in verbs.

- Date: Fri, 26 Apr 1996 23:14:33 PDT
- From:
- cc: moo-cows@parc.xerox.com
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- In-Reply-To: <Pine.LNX.3.91.960427064103.192B-100000@Manth-Trax.mistral.co.uk>

    > 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

References:

- Built in verbs.

- From: Bartmoss <bartmoss@mistral.co.uk>

- Prev: Built in verbs.
- Next: call_function() and $bf_FOO()
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index