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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.42.122.209 with SMTP id o17mr9652304icr.28.1409969974734; Fri, 05 Sep 2014 19:19:34 -0700 (PDT) X-Received: by 10.182.103.132 with SMTP id fw4mr107816obb.1.1409969974607; Fri, 05 Sep 2014 19:19:34 -0700 (PDT) Path: border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!r2no15289138igi.0!news-out.google.com!aw9ni0igc.0!nntp.google.com!r2no15289134igi.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 5 Sep 2014 19:19:34 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=24.36.114.177; posting-account=Lb5doAoAAAAWHET3z2_nBVbFSXaZQG1V NNTP-Posting-Host: 24.36.114.177 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9032a6f8-57ea-490c-bab0-2d0624eede00@googlegroups.com> Subject: Procedure vs function From: Stribor40 Injection-Date: Sat, 06 Sep 2014 02:19:34 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: number.nntp.dca.giganews.com comp.lang.ada:188890 Date: 2014-09-05T19:19:34-07:00 List-Id: Would anyone please try to explain difference between procedure and functio= n. Some online material describes procedure as of series of declaration an= d algoritmic code and function is something that returns data type. Does t= his mean that procedure can be within the scope of function perhaps body of= the procedure inside the body of function? Any info or simple example would be appreciated