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,b6e97963d32ee242 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-23 07:51:19 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: The old "Object.Method" syntax debate Date: Fri, 23 May 2003 14:51:19 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <254c16a.0305210726.485125de@posting.google.com> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1053701479 936 129.241.83.78 (23 May 2003 14:51:19 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Fri, 23 May 2003 14:51:19 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:37695 Date: 2003-05-23T14:51:19+00:00 List-Id: Steve wrote: > "David C. Hoos" wrote in message > news:vcn7svfjbannd6@corp.supernews.com... >> This was brought up in a forum regarding enhancements for Ada0X, >> at the SIG-Ada meeting last December, and the consensus was it >> should be done, so it probably will. >> > > If only we could add an alternate syntax for defining the methods (functions > and procedures) associated with an object, such as: > > type obj is tagged > record > field : Integer; > function Fun1( in; value : in integer ) return Integer; > procedure Proc1( in out; value : in out integer ); > end record; > > Yeah, I've mentioned this before, and nobody seems to agree with me, but I > still hate dealing with "freezing rules" to figure out where dispatching > operations end. I think I would agree with you (without knowing the ramifications) for the new .Method -- Preben Randhol http://www.pvv.org/~randhol/