comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Easy Question - Printing Out An Address
Date: Wed, 9 Mar 2005 19:34:22 +0100
Date: 2005-03-09T19:34:18+01:00	[thread overview]
Message-ID: <j3u1im4ngoy2.122c9j7u323au$.dlg@40tude.net> (raw)
In-Reply-To: 1110391414.401563.271160@o13g2000cwo.googlegroups.com

On 9 Mar 2005 10:03:34 -0800, Bryan.Berns@gmail.com wrote:

> How can I print out (for debugging purposes) a Machine.Address to the
> screen?
> 
> - Console.Write(????)
> 
> Any ideas?

See System.Storage_Elements ARM 13.7.1

It defines To_Integer that converts address to an integer type
Integer_Address (that can be either modular or signed depending on the
compiler). Anyway, you can then do Integer_Address'Image (X'Address).

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  parent reply	other threads:[~2005-03-09 18:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-09 18:03 Easy Question - Printing Out An Address Bryan.Berns
2005-03-09 18:23 ` Pascal Obry
2005-03-09 18:34 ` Dmitry A. Kazakov [this message]
2005-03-09 21:09   ` Bryan.Berns
2005-03-09 21:22     ` Mark Lorenzen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox