TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Date: Fri, 5 Feb 1999 10:10:37 -0600
Reply-To: Samuel Mize <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
In-Reply-To: <[log in to unmask]> from "Ben Brosgol" at Feb 5, 99 09:37:09 am
Content-Type: text/plain; charset=US-ASCII
From: Samuel Mize <[log in to unmask]>
Parts/Attachments: text/plain (28 lines)
Ben Brosgol wrote:
> Rick's message below implies that there is some contradiction between my
> suggestion: ...
> and Steve Deller's observation

I thought so too, at first, but I think he simply meant that there
are two approaches.

Two detail points, which I throw to the list so someone can correct
it if I'm mistaken:

- the indefinite private type that Ben pointed out is (I believe)
  new for Ada 95, so if you're working in Ada 83 you'll have to
  use one of the other approaches.

- if the type is indefinite, you can't declare an object of that
  type.  Of course, the full declaration makes it definite inside
  the private parts of the package.  But you can't have an object
  of that type outside the package.  This may be a problem or a
  feature, depending on exactly what you're trying to do.

Sam Mize

Samuel Mize -- [log in to unmask] (home email) -- Team Ada
Fight Spam: see \\\ Smert Spamonam