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 X-Google-Thread: 103376,1592759aa83d0d45 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-01 03:53:30 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!216.166.71.14!border3.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.clear.net.nz!news.clear.net.nz.POSTED!not-for-mail NNTP-Posting-Date: Sun, 01 Jun 2003 05:53:32 -0500 From: Craig Carey Newsgroups: comp.lang.ada Subject: Re: Suggestion for Ada 200x - Interface inheritance Date: Sun, 01 Jun 2003 22:53:27 +1200 Message-ID: References: <0Pxza.699607$OV.652508@rwcrnsc54> <5ad0dd8a.0305240435.337d9373@posting.google.com> <8khsab.h941.ln@skymaster> X-Newsreader: Forte Agent 1.92/32.572 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Organization: Customer of Mercury Telecommunications Ltd Cache-Post-Path: drone5.qsi.net.nz!unknown@tnt1-40.quicksilver.net.nz X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) X-Original-NNTP-Posting-Host: drone5-svc-skyt.qsi.net.nz X-Original-Trace: 1 Jun 2003 22:53:25 +1200, drone5-svc-skyt.qsi.net.nz NNTP-Posting-Host: 203.97.37.6 X-Trace: sv3-IV0UwYKjIqzWZo9Bw6eEhyGZCpD3/X3+8x4kqDDG2Lc5/PzI0FTo1uz5yRObZZG+v2sem8ymR/W/DCd!WZWJ74ehCzxiQ5EKEFOAqaN4eO+VFC0QIcSOqYXCLpxTQ6iSmqtMIeSVTDH46lnmpu+D7R1ablGu!Rt8FKp4= X-Complaints-To: Complaints to abuse@clear.net.nz X-DMCA-Complaints-To: Complaints to abuse@clear.net.nz X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.lang.ada:38279 Date: 2003-06-01T22:53:27+12:00 List-Id: On Mon, 26 May 2003 09:54:07 +0200, "Jean-Pierre Rosen" wrote: >"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, How interesting. Instead of "=:", ":=:", ":=", these may be used: "/" [constant 'in' mode parameter for the procedure or generic], "|" [in out], and "\" [out]. Two examples of calling a procedure: Text_IO.Get_Line (/File, \Item, \Last); Text_IO.Get_Line (/File, \Item => Item, \Last => Last); Craig Carey http://www.ijs.co.nz/ada_95.htm