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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fedeff7ff0412573 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-14 21:18:10 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!isdnet!proxad.net!proxad.net!news-hub.cableinet.net!blueyonder!psiuk-p2!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Question of data type Date: Thu, 14 Mar 2002 15:17:17 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: References: <3c8ff5df$1_7@news3.uncensored-news.com> <3C9043C2.D1AB315C@acm.org> NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1016137038 7771 136.170.200.133 (14 Mar 2002 20:17:18 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 14 Mar 2002 20:17:18 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:21257 Date: 2002-03-14T20:17:18+00:00 List-Id: Probably the answer is "You shouldn't" :-) I'd be suspicious that the original poster is trying to do something he shouldn't as well. I have seen this a lot when a C programmer tries to pass records as parameters to subroutines. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Jeffrey Carter" wrote in message news:3C9043C2.D1AB315C@acm.org... > Bigg K wrote: > > > > X is a record. If I want to assign X'Address to Y, what data type (integer, > > float, etc) does Y have to be? > > The type of X is immaterial. The simple answer is, you can't. > > I know this is technically the wrong answer, but I've seen so much code > recently that unnecessarily uses addresses that I suspect that this > answer is conceptually correct. > > -- > Jeff Carter > "You tiny-brained wipers of other people's bottoms!" > Monty Python & the Holy Grail