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!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: some trivial questions? Date: Wed, 1 Nov 2017 22:39:40 +0100 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <6a5368c5-f015-4dcb-9291-e77b40fa1bf1@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 1 Nov 2017 21:39:42 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="62f77676ed0ab64a290f7fa8ba20e630"; logging-data="5639"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xcjFhVaeVkHGs2wGMJkzYSO0kZ6R2wpI=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 In-Reply-To: <6a5368c5-f015-4dcb-9291-e77b40fa1bf1@googlegroups.com> Content-Language: en-US Cancel-Lock: sha1:pZRtLHtJ/IZB56hbx+pNTMdzdUs= Xref: news.eternal-september.org comp.lang.ada:48693 Date: 2017-11-01T22:39:40+01:00 List-Id: On 11/01/2017 07:44 PM, tclwarrior@gmail.com wrote: > Why in ada, there is a separation between functions and procedures? > Is there any real value in this? There are 2 kinds of languages: those in which all subprograms are called the same thing, even though some return a value and some don't and Those in which subprograms that return a value have a different name from those that don't. Ada is in the 2nd group. The 1st group seems to be further divided into 2 groups: those in which all subprograms are called functions, and those in which they're all called procedures. > Also why does is Use imply With? Use does not imply With. -- Jeff Carter "Monsieur Arthur King, who has the brain of a duck, you know." Monty Python & the Holy Grail 09