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-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!ecngs!feeder.ecngs.de!solnet.ch!solnet.ch!news-zh.switch.ch!switch.ch!news.ip-plus.net!newsfeed.ip-plus.net!news.post.ch!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: put of access type Date: Thu, 20 Aug 2009 08:01:04 +0200 Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <4a8ce6a0$1@news.post.ch> References: NNTP-Posting-Host: 194.41.146.1 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: atlas.ip-plus.net 1250748069 23879 194.41.146.1 (20 Aug 2009 06:01:09 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Thu, 20 Aug 2009 06:01:09 +0000 (UTC) User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) In-Reply-To: X-Original-NNTP-Posting-Host: w04asc.pnet.ch X-Original-Trace: 20 Aug 2009 08:01:04 +0200, w04asc.pnet.ch Xref: g2news2.google.com comp.lang.ada:7893 Date: 2009-08-20T08:01:04+02:00 List-Id: Dmitry A. Kazakov schrieb: > On Tue, 18 Aug 2009 18:26:26 -0400, Rob Solomon wrote: > >> I would like to output a pointer to the screen. (I am just learning >> Ada). >> >> How do I put(Any_Access_Type) > > You probably meant the address of the pointed object. Here you go. Let Ptr > be a pointer to some object Actualy he want's to learn - so he needs a memory dump. I remember that some access types have attached infos - anonymous access used as a function parameters spring to mind. If you just print the referenced address then the additional info is lost. Not so good if you want to learn Ada's internals. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com