From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,96ec22b0d62e8e73,start X-Google-Attributes: gid103376,public From: "Guido Schumacher" Subject: Q Controlled Types Date: 1997/06/05 Message-ID: <5n73uf$m1l@news.Informatik.Uni-Oldenburg.DE>#1/1 X-Deja-AN: 246374343 Organization: C. v. Ossietzky Universitaet Oldenburg - Fachbereich Informatik Newsgroups: comp.lang.ada Date: 1997-06-05T00:00:00+00:00 List-Id: Is there a possibility to distinguish two different kinds of situations in which Finalize can be called from within the body of Finalize? In other words, is it possible to treat the finalization of an object differently, depending on the context in which it is performed? 1. Calling of Finalize as part of an assignment operation 2. Finalize is called before the object is destroyed (and no copy is performed) declare V: CT; -- type CT is new controlled with ... begin ... V := E; -- (1) ... end; -- (2) I would appreciate any help. Thank you Guido -- Guido Schumacher Carl von Ossietzky Universitaet Oldenburg Postfach 2503 26111 Oldenburg Email: Guido.Schumacher@Informatik.Uni-Oldenburg.de Tel.: +49 441 798 2370 Fax: +49 441 798 2145