comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Dowie <martin.dowie@baesystems.com>
Subject: Re: Get_Line vs Adasockets
Date: 2000/08/14
Date: 2000-08-14T00:00:00+00:00	[thread overview]
Message-ID: <39979E8D.558CF45A@baesystems.com> (raw)
In-Reply-To: dale-978440.09065214082000@news-server

Yeah, I thought that too for a minute, but on closer inspection, the code is a
procedure with a nested function (instance of unchecked_conversion)  and not a
package with a function being defined in it - so no 'return' statement required
(although allowed ;-).

Perhaps one of the language lawyers could comment on the use of
unchecked_conversion to (I assume) convert from an address to an access type? I
thought that was the purpose of the standard package
System.Address_To_Access_Conversions?

Dale Stanbrough wrote:
> 
> 
> ...and i can't see a return statement in your function.
> 
> Dale

-- 
The views expressed here are personal and not those of BAE Systems.




  reply	other threads:[~2000-08-14  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-13  0:00 Get_Line vs Adasockets Ultor
2000-08-13  0:00 ` Dale Stanbrough
2000-08-14  0:00   ` Martin Dowie [this message]
2000-08-17  0:00     ` tmoran
2000-08-21  0:00       ` Martin Dowie
2000-08-14  0:00 ` Ken Garlington
2000-08-14  0:00   ` Ultor
2000-08-14  0:00     ` Ted Dennison
2000-08-14  0:00       ` Michal Zalewski
2000-08-14  0:00         ` Ted Dennison
2000-08-21  1:44   ` David Thompson
2000-08-14  0:00 ` Anders Gidenstam
replies disabled

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