[DGD] recompile() question

Jason Cone jcone at tamu.edu
Thu Dec 25 02:39:05 CET 1997


Greetings.

I'm having a visualization problem with how and when the recompile()
function is called in the driver object.  I've read what I can find
regarding the function and have taken a look at the driver source to try and
forumulate a scenario that would force the call, but every time I think I've
a winner it still won't call that function.

Here is what I'm wanting to accomplish (I conceed here and now that it may
not even be possible to do what I want to do, but it sounds as if DGD can
take care of this):

Object A inherits object B.  Object A sets a string variable in object B via
a "set" function that is later queried by other objects.  I load object A.
I change the value in the "set" function in object A.

Now, it's my understanding that compile_object() can be used on
already-loaded objects and will replace the loaded one with the newer one.
I'm currently solving the above scenario by destructing object A and then
reloading it.  There are a few cases where this is not desirable, however.
And I can not, for the life of me, get recompile() to be called in the
driver object no matter how I compile/destruct/etc object A.  I tried
compile_object() on object B, but it gave me the expected error of trying to
recompile an inherited object.

If I've made any sense at all, can someone please explain the process that
takes place when one uses compile_object() on a loaded object and where
recompile() fits in to it? :)

Gracias,

Jason Cone

||==================================================================||
||                         ||  "Hard work spotlights the character  ||
|| Jason H. Cone           ||   of people:  some turn up their      ||
|| Dept. Computer Science  ||   sleeves, some turn up their noses,  ||
|| Texas A&M University    ||   and some don't turn up at all."     ||
|| jcone at cs.tamu.edu       ||             - Sam Ewing               ||
||                         ||                                       ||
||==================================================================||
||                                             O                    ||
||                                __o         <|\                   ||
||                 ____^o_      _ \<_         _\                    ||
||                             (_)/(_)         /                    ||
||                                                                  ||
||                   JUST        TRI          IT                    ||
||==================================================================||





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



More information about the DGD mailing list