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-Thread: 103376,9ce5fb49dc74582f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: generic question References: <1163959439.299036.129940@e3g2000cwe.googlegroups.com> In-Reply-To: <1163959439.299036.129940@e3g2000cwe.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <3438h.1069570$084.142246@attbi_s22> NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1163967871 12.201.97.213 (Sun, 19 Nov 2006 20:24:31 GMT) NNTP-Posting-Date: Sun, 19 Nov 2006 20:24:31 GMT Date: Sun, 19 Nov 2006 20:24:31 GMT Xref: g2news2.google.com comp.lang.ada:7569 Date: 2006-11-19T20:24:31+00:00 List-Id: markww wrote: > > I'd like to be able to store either an integer, a float, or some other > user defined record type in there so that this node record becomes a > container. Is this possible? This is a good exercise for learning about generics and access types, but for real development you should probably use an existing package for this kind of thing. -- Jeff Carter "In the frozen land of Nador they were forced to eat Robin's minstrels, and there was much rejoicing." Monty Python & the Holy Grail 70