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,e91f674b5db5e2b2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-16 23:15:35 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!paloalto-snh1.gtei.net!lsanca1-snf1!news.gtei.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3BA594FF.D268984@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Access types and classwide programming References: <09Oo7.12082$mj6.1852826@news6-win.server.ntlworld.com> <3BA4447B.66842AB0@acm.org> <3BA4D81D.E899280D@acm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 17 Sep 2001 06:15:35 GMT NNTP-Posting-Host: 63.178.187.175 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1000707335 63.178.187.175 (Sun, 16 Sep 2001 23:15:35 PDT) NNTP-Posting-Date: Sun, 16 Sep 2001 23:15:35 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Sun, 16 Sep 2001 23:12:19 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:13110 Date: 2001-09-17T06:15:35+00:00 List-Id: "David C. Hoos, Sr." wrote: > > Address clauses apply only to an object, program unit, or label -- > not to a type. > > ----- Original Message ----- > From: "Jeffrey Carter" > Newsgroups: comp.lang.ada > "chris.danx" wrote: > > > > "Jeffrey Carter" wrote in message > > news:3BA4447B.66842AB0@acm.org... > > > > > > Frequently, address clauses are a better approach to hardware > > > programming than address to access conversions. > > > > Do you mean > > > > type X is something; > > For x'address use blah; > > Yes, that is an address clause for X. Oops! I hate to make silly mistakes like that in public. I looked at the address clause for X and ignored X's definition. That would be an address clause for X, if X were an object. Instead, you need to say V : X; for V'Address use Blah; This is what I did in the rest of my post, which I hope doesn't have any more silly mistakes. Sorry. -- Jeff Carter "Hello! Smelly English K...niggets." Monty Python & the Holy Grail