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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: Luke A. Guest Newsgroups: comp.lang.ada Subject: Re: some trivial questions? Date: Wed, 1 Nov 2017 21:30:15 +0000 Organization: Aioe.org NNTP Server Message-ID: <986529133.531264479.926967.laguest-archeia.com@nntp.aioe.org> References: <6a5368c5-f015-4dcb-9291-e77b40fa1bf1@googlegroups.com> NNTP-Posting-Host: 8Zm/buX3n6POCE9Vs33ZKQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: NewsTap/5.2.6 (iPhone/iPod Touch) Cancel-Lock: sha1:353xRXKaywfHBWzolEl9ZQPPxcU= X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:48692 Date: 2017-11-01T21:30:15+00:00 List-Id: wrote: > Why in ada, there is a separation between functions and procedures? > Is there any real value in this? In maths a function returns something, well it maps one set onto another, but you get the idea. A procedure is a bunch of steps that don't return a value. Other languages do this too, just not the C ones.