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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,1592759aa83d0d45 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-26 01:15:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!nnrp.oleane.net!skymaster!nobody From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Suggestion for Ada 200x - Interface inheritance Date: Mon, 26 May 2003 09:54:07 +0200 Organization: Adalog Message-ID: <8khsab.h941.ln@skymaster> References: <0Pxza.699607$OV.652508@rwcrnsc54> <5ad0dd8a.0305240435.337d9373@posting.google.com> NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1053936833 32038 195.25.228.57 (26 May 2003 08:13:53 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 26 May 2003 08:13:53 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: archiver1.google.com comp.lang.ada:37774 Date: 2003-05-26T09:54:07+02:00 List-Id: "Steve" a �crit dans le message de news:m3Vza.963555$3D1.566040@sccrnsc01... > What do you think of the idea of also optionally giving the mode of the > parameter, which if present must match the function or procedure > declaration. That is, extending the above example: > > result := Add( in left => 2, in right => 3 ); > Sigh... In the green language proposal, associations between formal and actual used ":=" for in parameters, "=:" for out parameters, and ":=:" for in out parameters. It was later dropped, I don't remember why, but presumably because it was felt that the gain was not worth the extra complexity. So this idea, although it has some merit, is not really new... -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr