comp.lang.ada
 help / color / mirror / Atom feed
From: Jerry Petrey <gpetrey@hercii.mar.lmco.com>
Subject: Re: Is system part of standard?
Date: 1999/04/30
Date: 1999-04-30T00:00:00+00:00	[thread overview]
Message-ID: <37299BBF.C3A0302A@hercii.mar.lmco.com> (raw)
In-Reply-To: 372a74e6.7440315@news.geccs.gecm.com

Brian Orpin wrote:
> 
> On Fri, 30 Apr 1999 07:54:03 GMT, abuse@borpin.demon.co.uk (Brian Orpin)
> wrote:
> 
> >In response to a problem with a 3rd party tool a suggestion was that we
> >did not need to 'with' system but rather we could simply prefix
> >everything with Standard.System eg.
> >
> >Some_Address : Standard.System.Address;
> >
> >On Both our DEC Ada and Tartan Ada compilers this doesn't work.
> >
> >Should it or is the advice false?  The relevant sections of the LRM I
> >have found are 8.6 and the end of Annex C.  Both these imply to me that
> >system is not part of standard but is, of course, predefined.
> 
> Of course I should have said that these are all Ada 83 systems.
> 
> --
> Brian Orpin  **Reply to address is valid***
> Selfbuilding, and we're in; bath, shower, toilet what more do
> you need? http://www.borpin.demon.co.uk/


You must with System - it is a predefined library package like Text_IO,
Calendar, IO_Exceptions and Low_Level_IO.  Package ASCII is the
only predefined package that is nested within Standard and doesn't
need (or allow) a with clause.

Jerry

-- 
=====================================================================
=  Jerry Petrey - Consultant Software Engineer  - Member Team Ada   =
=                 Lockheed Martin                 Member Team Forth =
=====================================================================




      parent reply	other threads:[~1999-04-30  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <37295ff2.2075172@news.geccs.gecm.com>
1999-04-30  0:00 ` Is system part of standard? Tucker Taft
1999-04-30  0:00   ` Robert Dewar
     [not found] ` <372a74e6.7440315@news.geccs.gecm.com>
1999-04-30  0:00   ` Jerry Petrey [this message]
replies disabled

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