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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no 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!postnews.google.com!f16g2000cwb.googlegroups.com!not-for-mail From: "markww" Newsgroups: comp.lang.ada Subject: Re: generic question Date: 19 Nov 2006 12:33:04 -0800 Organization: http://groups.google.com Message-ID: <1163968384.104747.212840@f16g2000cwb.googlegroups.com> References: <1163959439.299036.129940@e3g2000cwe.googlegroups.com> <3438h.1069570$084.142246@attbi_s22> NNTP-Posting-Host: 68.174.181.181 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1163968389 3282 127.0.0.1 (19 Nov 2006 20:33:09 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 19 Nov 2006 20:33:09 +0000 (UTC) In-Reply-To: <3438h.1069570$084.142246@attbi_s22> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: f16g2000cwb.googlegroups.com; posting-host=68.174.181.181; posting-account=cNKOMg0AAADT2ug8oGSYYXo8bsDvrHzw Xref: g2news2.google.com comp.lang.ada:7570 Date: 2006-11-19T12:33:04-08:00 List-Id: Oh yeah it's just an excercise, I had to do the same in C++ & java - otherwise I'd definitely use the preexisting stuff, Mark On Nov 19, 3:24 pm, "Jeffrey R. Carter" wrote: > 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