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.129.99.9 with SMTP id x9mr28240829ywb.151.1483999272346; Mon, 09 Jan 2017 14:01:12 -0800 (PST) X-Received: by 10.157.56.117 with SMTP id r50mr67107otd.12.1483999272308; Mon, 09 Jan 2017 14:01:12 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!q58no487542qte.0!news-out.google.com!u18ni13748ita.0!nntp.google.com!r185no1056274ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 9 Jan 2017 14:01:11 -0800 (PST) In-Reply-To: <5b52afcc-120e-41a5-bab2-7f5c6f647cc2@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:191:8303:2100:5985:2c17:9409:aa9c; posting-account=fdRd8woAAADTIlxCu9FgvDrUK4wPzvy3 NNTP-Posting-Host: 2601:191:8303:2100:5985:2c17:9409:aa9c References: <87r34j39u6.fsf@nightsong.com> <7643d59e-061f-42df-adda-9322608f127b@googlegroups.com> <5b52afcc-120e-41a5-bab2-7f5c6f647cc2@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4d7fb330-b5db-4ce8-9721-c15c8e5b3654@googlegroups.com> Subject: Re: Introductory Ada Programming Book From: Robert Eachus Injection-Date: Mon, 09 Jan 2017 22:01:12 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:33086 Date: 2017-01-09T14:01:11-08:00 List-Id: On Wednesday, January 4, 2017 at 8:44:14 AM UTC-5, raph....@gmail.com wrote: > I'm in contact with the author so I'll pass any fixes up to him if you don't mind > > > exit when (a == 0) In Ada this should be: exit when a = 0; The parentheses are allowed but not necessary, == is C not Ada, and exit is a statement that should be terminated by a semicolon.