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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,80e74153f40106ab X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-05 07:26:39 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!tar-alcarin.cbb-automation.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: Weird controlled behavior - Gnat 3.15p NT Date: Fri, 05 Sep 2003 16:33:48 +0200 Message-ID: <2d7hlv40ecmge9n103s2srgfjpbc0n1c8e@4ax.com> References: <5d6fdb61.0309040725.3403aa29@posting.google.com> <3F57B071.5030206@attbi.com> NNTP-Posting-Host: tar-alcarin.cbb-automation.de (212.79.194.111) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1062771998 17614753 212.79.194.111 (16 [77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:42179 Date: 2003-09-05T16:33:48+02:00 List-Id: On Fri, 5 Sep 2003 15:48:07 +0200, Jano wrote: >Randy Brukardt dice... >> "Robert I. Eachus" wrote in message >> news:3F57B071.5030206@attbi.com... >> (...) >> Finally, Robert's basic point is correct: Finalize should always be designed >> to be called "extra" times on an object. I usually use something like: > >Thanks for the answers, that's what happens when I assume something. >Fortunately it wasn't a great deal, I was only counting existing objects >for statistical purposes. I suppose your code would work if the objects were limited controlled. Otherwise, it is probably not very reasonable to count them. It is much like counting numeric literals. (:-)) --- Regards, Dmitry Kazakov www.dmitry-kazakov.de