[DGD] Problem with too many functions.

David Jackson atari_x at bellsouth.net
Sat Jan 4 07:46:45 CET 2003


It is not something that is necessary to patch, as nothing is actually
broken.  Your own code, however, is broken.

I think Dworkin just presented you with the solution.  You've put too many
functions in your main object; create a second object with some of your
functions in it, and have you main object inherit that second object.  That
way, you can have practically an unlimited number of functions in your main
object.  You should be doing this anyhow, so that other objects can use
sub-sets of those functions.

If you don't know how to do this, then perhaps you should slide back on the
learning curve, and pick up some details of LPC/DGD that you missed earlier
regarding inheritance, and how it works.

David Jackson
Mystic Vision


----- Original Message -----
From: "Alphoen" <alphoen at svartvinter.net>

> Thanks a lot for your answear. I presume you're the one that knows best
what
> to
> do and if you say it's far too complicated to fix on my own I guess I just
> have to
> follow your advice and inherit. Thanks a lot. I would though be happy if
> someone
> had a patch or even have been into the same problem and solved it and
could
> explain
> how to fix this "problem".
>
> Alphoen.
>
> _________________________________________________________________
> List config page:  http://list.imaginary.com/mailman/listinfo/dgd
>


_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list