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,25ecb78615e0f778,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-22 08:51:45 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: evangeli@cnam.fr (Evangelista Sami) Newsgroups: comp.lang.ada Subject: protected objects and external call Date: 22 Jan 2004 08:51:45 -0800 Organization: http://groups.google.com Message-ID: <5f59677c.0401220851.3c2922b0@posting.google.com> NNTP-Posting-Host: 163.173.228.31 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1074790305 17990 127.0.0.1 (22 Jan 2004 16:51:45 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 22 Jan 2004 16:51:45 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:4657 Date: 2004-01-22T08:51:45-08:00 List-Id: hi all in RM-9.5.1 we see there is a difference between external and internal protected calls. Let's consider the following code ---------------------------------- protected type Prot is procedure P; end Prot; My_Prots : array (1..10) of Prot; protected body Prot is procedure P is begin ..... My_Prots(5).P; .... end; end Prot; ---------------------------------- Is the call "My_Prots(5).P" always considered as an external call or is it an internal call if the object on which is executed the procedure is My_Prots(5) ? Thanks for any help Sami Evangelista