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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9e02dc5f2c4718ab X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-18 13:33:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!sccrnsc01.POSTED!not-for-mail From: Stapler Subject: Re: Novice help with types and de-allocation. Newsgroups: comp.lang.ada References: <4519e058.0211180729.10b630dc@posting.google.com> User-Agent: Pan/0.11.3 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Comment-To: "Ted Dennison" Message-ID: <41dC9.70254$NH2.4504@sccrnsc01> NNTP-Posting-Host: 12.241.145.39 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc01 1037655232 12.241.145.39 (Mon, 18 Nov 2002 21:33:52 GMT) NNTP-Posting-Date: Mon, 18 Nov 2002 21:33:52 GMT Organization: AT&T Broadband Date: Mon, 18 Nov 2002 21:33:52 GMT Xref: archiver1.google.com comp.lang.ada:31071 Date: 2002-11-18T21:33:52+00:00 List-Id: On Mon, 18 Nov 2002 10:29:53 -0500, Ted Dennison wrote: > Probably the best way out would be to make Int_Buffer a *subtype* of > Buff_Out, instead of a type in its own right. If you don't like that > solution, then the next best thing would be to make the private > definition of "Int_Buffer" a "new Buff_Out". That would allow you to use > a simple type conversion. I've taken your guys advise, and it works. I'm making it a point to put a lot more forethought into my type system. Thanks. Stapler "One day at a time and we'll never get there."