[DGD] Re: How to stop an object from loading?

Erwin Harte harte at is-here.com
Sun Mar 7 06:08:50 CET 2004


On Sat, Mar 06, 2004 at 11:59:45PM -0500, Michael McKiel wrote:
> Maybe I didn't think that through enough...
> If they all have to inherit a certain library, then I could put in that given
> library a call in the create(){ sanity_check(); }
> 
> and the objects in question would need to ::create();
> 
> so sanity_check() could make a check for the variable called_make?
> and error if its 0... I think heh.

If you compile/clone these objects inside an atomic function then the
error() should trigger an unroll that includes undoing the object
creation?

Perhaps that helps,

Erwin.
-- 
Erwin Harte <harte at is-here.com>
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list