Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!ucla-cs!zen!ucbvax!hermix.UUCP!colbert From: colbert@hermix.UUCP (colbert) Newsgroups: comp.lang.ada Subject: Accepts in subprograms Message-ID: <8708220355.AA16847@rand-unix.rand.org> Date: Fri, 21-Aug-87 11:33:46 EDT Article-I.D.: rand-uni.8708220355.AA16847 Posted: Fri Aug 21 11:33:46 1987 Date-Received: Sun, 23-Aug-87 08:16:25 EDT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: hermix!colbert@rand-unix.ARPA Distribution: world Organization: The ARPA Internet Lines: 27 Hi Rob, I suspect the reason you cannot put an accept statement in a procedure reflects the problem of ownership; i.e. if I place an accept statement of an entry in procedure, what task does this entry belong to? Also, from the perspective of scoping, you are required to declare a body in the same scope as its corresponding declaration. Since the accept statement is essentially the "body" of an entry, you must declare it in the same scope as the entry declar- ation (e.g., the task body). See you in Seattle! Take Care, Ed Colbert hermix!colbert@rand-unix.arpa {seismo,trwrb,...!)hermix!colbert P.S. For any one who has tried to reach me over the net for the last year, I haven't had an account since I left TRW. Thanks to Herman Fischer I'm back on-line. P.S.S. I've also moved. My new snail mail address and phone are: Absolute Software Co. 4593 Orchid Dr. Los Angeles, Ca 90043-3320 (213) 293-0783