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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,44b0b57dd5d8f69 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.180.100.98 with SMTP id ex2mr743544wib.4.1344194704205; Sun, 05 Aug 2012 12:25:04 -0700 (PDT) Path: n2ni59303298win.0!nntp.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: List of Negative Language rules? Date: Sun, 05 Aug 2012 22:25:05 +0300 Organization: Tidorum Ltd Message-ID: References: Mime-Version: 1.0 X-Trace: individual.net 3v/fJYqlJmYdx/6UAq4N0gBpnpvM33F+5rmURUBLV3DZiTEjpF94KMnF5/khBBeKqZ Cancel-Lock: sha1:GH7EinI/EaO9QudpPlp6lsVJN4A= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2012-08-05T22:25:05+03:00 List-Id: On 12-08-05 21:42 , Dennis Lee Bieber wrote: > On Sun, 5 Aug 2012 07:39:42 -0700 (PDT), Patrick > declaimed the following in > comp.lang.ada: > > >> >> Pre-Ada 2012 functions cannot take in parameters > > Prior to Ada 2012, functions ONLY took "IN" parameters, so > designation of the parameter as of "IN" mode was redundant and unneeded. But "in" mode could be specified explicitly, if desired, and some coding style/rule guides required it. > Ada 2012 opens functions up to having side-effects via the use of "IN > OUT" parameters, A function in Ada 2012 can also have pure "out" parameters. > so one now has to designate the mode of the parameter. What, "has to"? Specifing the mode is still optional, in Ada 2012 as before, and "in" mode is the default. Even for functions. At least as I read the RM. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .