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: a07f3367d7,9506bdc34331969a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news1.google.com!news.glorb.com!gegeweb.org!usenet-fr.net!club-internet.fr!feedme-small.clubint.net!proxad.net!feeder1-1.proxad.net!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: put of access type Date: Wed, 19 Aug 2009 09:44:29 +0200 Organization: Adalog Message-ID: <3hag6h.5fu.ln@hunter.axlog.fr> References: NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1250657838 2397 195.25.228.57 (19 Aug 2009 04:57:18 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Wed, 19 Aug 2009 04:57:18 +0000 (UTC) User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) In-Reply-To: Xref: g2news2.google.com comp.lang.ada:7863 Date: 2009-08-19T09:44:29+02:00 List-Id: Rob Solomon a �crit : > I thought someone would question why I want this. As I said in my 1st > message, I'm trying to learn the language and I would like to see what > happens when I define pointers. I mean access types. > > The only way I know to see the results of my playing is to output > them. > As others said, you won't get much from that, but if it's really what you want, just use your favorite debugger and inspect memory (gdb under GPS is quite easy to use). But remember: in Ada, an access value is /not/, repeat *not*, an address ;-). So you will be looking at something which is 100% compiler dependent. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr