comp.lang.ada
 help / color / mirror / Atom feed
From: pipex!demon!cix.compulink.co.uk!sjwright@uunet.uu.net  (Simon Wright)
Subject: Re: NYU ADA QUESTION!!!
Date: 15 Apr 93 22:04:02 GMT	[thread overview]
Message-ID: <memo.133371@cix.compulink.co.uk> (raw)

References: <1993Apr11.050845.26102@penny.cs.fredonia.edu>
X-Newsreader: TIN [version 1.1 PL6]

Kevin V. Sobilo (sobi0268@mary.cs.fredonia.edu) wrote:
> 
>  I am trying to use NYU Ada for a project to create a set of 
> facilities or packages to allow TCP/IP programming in Ada.  We wish
> to provide some nice facilities to program concurrent network
> applications etc... Well, NYU Ada (adaed) doesnt seem to implement
> UNCHECKED_CONVERSION or SYSTEM packages.... Can anyone tell me if
> this is true???? 

The source of System, Text_Io, ... is in the file src/predef.ada.
Unfortunately the text of Unchecked_Conversion is ..

generic
   type SOURCE is limited private;
   type TARGET is limited private;
function UNCHECKED_CONVERSION(S : SOURCE) return TARGET;
function UNCHECKED_CONVERSION(S : SOURCE) return TARGET is
NOT_USED_ANYWAY: TARGET;
begin
   raise PROGRAM_ERROR;
   return NOT_USED_ANYWAY;
end;

.. so I guess there's some work to do there. Obviously the body needs to
be implemented in the host language :-)

--
Simon Wright
Ferranti International, Defence Systems Integration

             reply	other threads:[~1993-04-15 22:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-04-15 22:04 Simon Wright [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-04-16 13:33 NYU ADA QUESTION!!! Jonathan Schilling
replies disabled

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