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
Show All Mail Headers

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

Print Reply
Subject:
From:
Pat Rogers <[log in to unmask]>
Reply To:
Pat Rogers <[log in to unmask]>
Date:
Fri, 17 Jul 1998 15:06:33 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
>Ah, OK, this clarifies it. Sure, no nested types. Makes sense.
>
>In that case, since only a single data element can be declared in
>the private part, and none at all in the public part, the use of
>"private" is really just syntactic sugar.

We can declare as many objects as necessary; not just one.

>It's not a real private part in the sense of packages. It does
>serve as a useful delimiter for the compiler, I guess.

No, it really is private in the same sense as packages and tasks. For
example, we can declare private entries and protected subprograms,
primarily for the sake of requeue.


-- pat

Pat Rogers
[log in to unmask]
http://www.neosoft.com/~progers
(281)648-3165

ATOM RSS1 RSS2