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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3867e2f73fa21ec,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.188.198 with SMTP id gc6mr4095485wic.3.1367425689334; Wed, 01 May 2013 09:28:09 -0700 (PDT) X-Received: by 10.49.64.196 with SMTP id q4mr242551qes.2.1367425688783; Wed, 01 May 2013 09:28:08 -0700 (PDT) Path: hg5ni47696wib.1!nntp.google.com!v3no1361913wid.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 1 May 2013 09:28:07 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=46.223.131.157; posting-account=OHCc7woAAABaNMpDEL34mIXqTwlPN3SY NNTP-Posting-Host: 46.223.131.157 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7704abab-86f2-4edc-ad4b-b3d4e70004fb@googlegroups.com> Subject: Ada 2012: In-out parameters for functions From: dptrash@arcor.de Injection-Date: Wed, 01 May 2013 16:28:09 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2013-05-01T09:28:07-07:00 List-Id: Why does Ada 2012 have in-out parameters for functions? Quote from the book 'Ada 2005 Rationale' (page 4): "[..] Indeed many other changes were rejected as really unnecessary. These include old chestnuts such as in out and out parameters for functions (ugh), [..]". So, when do I use functions or procedures. Functions have return values. Any other differences? - Dennis