comp.lang.ada
 help / color / mirror / Atom feed
* protected objects and external call
@ 2004-01-22 16:51 Evangelista Sami
  2004-01-22 18:28 ` Robert A Duff
  2004-01-23  8:59 ` Jean-Pierre Rosen
  0 siblings, 2 replies; 6+ messages in thread
From: Evangelista Sami @ 2004-01-22 16:51 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-01-23 17:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-22 16:51 protected objects and external call Evangelista Sami
2004-01-22 18:28 ` Robert A Duff
2004-01-23  8:59 ` Jean-Pierre Rosen
2004-01-23 14:53   ` Robert A Duff
2004-01-23 15:50     ` Jean-Pierre Rosen
2004-01-23 17:19       ` Robert A Duff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox