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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6d342d02d729296e,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-21 03:18:37 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: evangeli@cnam.fr (Evangelista Sami) Newsgroups: comp.lang.ada Subject: Entry family Date: 21 Nov 2002 03:18:37 -0800 Organization: http://groups.google.com/ Message-ID: <5f59677c.0211210318.4f3ca382@posting.google.com> NNTP-Posting-Host: 163.173.228.14 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1037877517 24785 127.0.0.1 (21 Nov 2002 11:18:37 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 21 Nov 2002 11:18:37 GMT Xref: archiver1.google.com comp.lang.ada:31142 Date: 2002-11-21T11:18:37+00:00 List-Id: hello all what is the meaning of this code which compile well with gnat3.14 under linux: --------------------------------------------- procedure Test_Index is type Id is mod 10; protected type Prot is entry E (Boolean); end Prot; protected body Prot is entry E (for I in Id) when True is begin null; end; end Prot; P : Prot; begin P.E(True); end; ---------------------------------------------why can i declare the index entry of E as Boolean in the spec and as Id in the body? Perhaps i didnt understand something about entry index Thanks for any response