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

# Re: call_function

- Date: Wed, 17 Jan 1996 10:27:12 PST
- From:
- cc: moo-cows@parc.xerox.com
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- In-Reply-To: <9601171808.AA29728@saul2.u.washington.edu>

    > As the Changlog.txt states, it allows one to compute the name of builtin
    > functions, or to call non-standard builtin functions in such a way that the
    > code you write remains portable.
    >
    > As simplistic examples, you can now have verbs with similar functions can
    > now handle several different builtin functions at once (before you needed a
    > separate verb for each builtin)
    >
    > #0:bf_*
    >   verb = verb[3..$];
    >   if(this:trusts(player) && verb in $server_options.protected_builtins)
    >     return call_function(verb, @args);
    >   else
    >     return E_PERM;
    >   endif

    Okay..  I see one advantage, and that is to simplify what can already be
    accomplished with a slightly more complicated verb.  I was just under the
    impression that the only builtins to be standard would only be things
    that either can't be done in-database or would be too tick expensive to
    do in-database.  Maybe I'll write it in-database, and see how many ticks
    I can get it down to through heavy optimization of it.  I'll stop ranting
    now. :-)

    Phantom

References:

- Re: call_function

- From: Michael Brundage <anomaly@u.washington.edu>

- Prev: Re: call_function
- Next: callers()
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index