From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b81f19f08627984b,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-25 14:53:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!freenix!enst.fr!not-for-mail From: "Dominic D'Apice" Newsgroups: comp.lang.ada Subject: PRIVATE abstract data type in ADS Date: Fri, 25 Oct 2002 17:52:26 -0400 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1035582782 17735 137.194.161.2 (25 Oct 2002 21:53:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Fri, 25 Oct 2002 21:53:02 +0000 (UTC) Return-Path: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: comp.lang.ada mail<->news gateway List-Post: List-Help: List-Subscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Original-Cc: ada-france@ada-france.org Xref: archiver1.google.com comp.lang.ada:30142 Date: 2002-10-25T17:52:26-04:00 Hi, in this abstract data type in ADS (see below), do i need to put "type louer is access reservation" with the "IS PRIVATE" ? If no, why i don't need to put "IS PRIVATE" after a access type when i want to keep it PRIVATE ? ADS --- Package reservation is type auto_res IS PRIVATE type reservation IS PRIVATE; type louer is access reservation ; type tete_liste_louer IS PRIVATE; type liste_louer is access tete_liste_louer ; ... PRIVATE type auto_res is (econo,moyenne,grande,familliale,sport,limousine); type reservation is record num : natural := 0; plancher : integer := 20; plafond : integer := 20; classe : auto_res := econo; nomclient : string(1..256); suivant : louer := null; end record; type tete_liste_louer is record premier : louer := null; dernier : louer := null; longueur : natural := 0; end record; Thanks / merci Dominic