TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< 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]>
Subject:
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.

Best,
Sam Mize

--
Samuel Mize -- [log in to unmask] (home email) -- Team Ada
Fight Spam: see http://www.cauce.org/ \\\ Smert Spamonam

ATOM RSS1 RSS2