[DGD] Recursion in recompile(), is this correct?
Noah Gibbs
noah_gibbs at yahoo.com
Sun Jan 11 00:10:27 CET 2004
--- Robert Forshaw <iouswuoibev at hotmail.com> wrote:
> Here's what my function
> looks like now:
>
> static nomask void recompile(object obj)
> {
> if(sizeof(OBJECTD -> query_inheritance_list(obj,
> INHERITED_BY)))
> destruct_object(obj);
> compile_object(obj);
> }
This looks much better, and is a lot more like what
the Kernel MUDLib does. By the way, you know that obj
will be inherited by somebody because of the
conditions for recompile() being called.
=====
------
noah_gibbs at yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
_________________________________________________________________
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list