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=0.1 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3dbb4bb0201c39eb X-Google-Attributes: gid103376,public From: Jeff Carter Subject: Re: Destructor question Date: 1998/12/03 Message-ID: <3666BACC.99E6BB06@spam.innocon.com>#1/1 X-Deja-AN: 418279411 Content-Transfer-Encoding: 7bit References: <3665B85D.A2663591@nowhere.com> Content-Type: text/plain; charset=us-ascii Organization: Innovative Concepts, Inc. Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-12-03T00:00:00+00:00 List-Id: Rusnak wrote: > > How are destrcutor methords properly implemented in Ada on tagged > records? I have the following setup: > ... Assuming "destrcutor" should be "destructor" and "methords" should be "methods" then the answer to this question is that Ada does not have methods, much less destructor methods. Ada has subprograms and entries. This is a MicroStuff Support answer: technically correct but useless. Here's a useful answer: Your question seems to be about what Ada calls "finalization", which refers to operations on objects of a type when the value of the object becomes inaccessible (prior to assignment or when the object ceases to exist). I refer you to the standard package Ada.Finalization for the details of finalization in Ada (ARM 7.6). -- Jeff Carter E-mail: carter commercial-at innocon [period | full stop] com "Perfidious English mouse-dropping hoarders." Monty Python & the Holy Grail