Fri, 5 Feb 1999 10:10:37 -0600
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.
Samuel Mize -- [log in to unmask] (home email) -- Team Ada
Fight Spam: see http://www.cauce.org/ \\\ Smert Spamonam