From: tmoran@acm.org
Subject: Re: Unchecked_Conversion help needed
Date: Tue, 21 Dec 2004 15:53:39 -0600
Date: 2004-12-21T15:53:39-06:00 [thread overview]
Message-ID: <b8adnc6SBff-BlXcRVn-qw@comcast.com> (raw)
In-Reply-To: a955971604ef063ccd60264cdf2222de@localhost.talkaboutprogramming.com
> Message : in System.Address;
> Bytes : in Positive;
>...
>What I would like to do is print out the message on the receiving side.
>
>Is this possible using unchecked_conversion ?
Much is possible using unchecked_conversion. But why not something like:
Actual_Message : String(Positive);
for Actual_Message'address use Message;
...
Ada.Text_IO.Put(Actual_Message(1 .. Bytes));
next prev parent reply other threads:[~2004-12-21 21:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-21 21:22 Unchecked_Conversion help needed rcarnesiii
2004-12-21 21:49 ` rcarnesiii
2004-12-21 21:53 ` tmoran [this message]
2004-12-22 0:17 ` Jeffrey Carter
2004-12-22 5:41 ` Brian May
2004-12-23 0:32 ` Jeffrey Carter
2004-12-22 9:21 ` Adrien Plisson
-- strict thread matches above, loose matches on Subject: below --
2004-12-22 3:29 Nick Roberts
2004-12-22 8:03 ` Jerome Hugues
2004-12-22 9:24 ` Pascal Obry
2004-12-22 9:55 ` Martin Krischik
2004-12-22 12:46 ` Pascal Obry
2004-12-22 14:14 ` Jerome Hugues
2004-12-22 14:30 ` Pascal Obry
2004-12-22 14:09 ` Jerome Hugues
2004-12-22 18:33 ` Martin Krischik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox