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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-01 13:47:06 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!coop.net!newsfeed1.global.lmco.com!svlnews.lmms.lmco.com!news1.lmtas.lmco.com!not-for-mail From: Gary Scott Newsgroups: comp.lang.ada Subject: Re: How to make Ada a dominant language Date: Wed, 01 Aug 2001 12:32:08 -0500 Organization: LM Aeronautics Message-ID: <3B683D18.20C881F9@lmtas.lmco.com> References: <3B676974.C80C72E5@sneakemail.com> <9ff447f2.0107312310.4bfdadf0@posting.google.com> <3B67B0BC.F51C4CB4@sneakemail.com> <9ff447f2.0108010700.7afc19b9@posting.google.com> <3B68272A.9876090B@sneakemail.com> NNTP-Posting-Host: CAA261517.lmtas.lmco.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.72 [en]C-CCK-MCD {C-UDP; LMTAS} (WinNT; U) X-Accept-Language: en,pdf Xref: archiver1.google.com comp.lang.ada:10985 Date: 2001-08-01T12:32:08-05:00 List-Id: Russ wrote: > > Adrian Hoe wrote: > > > > Russ <18k11tm001@sneakemail.com> wrote in message news:<3B67B0BC.F51C4CB4@sneakemail.com>... > > > Adrian Hoe wrote: > > > > > > According to your proposition: > > > > if a = 0 then > > a = 1 > > b = 2 > > c = 3 > > end if > > > > can lead to many errors, for instance: > > > > if a = 0 then > > a = 1 b = 2 > > c=3 > > end if > > > > But with Ada: > > > > if a = 0 then > > a = 1; > > b = 2; > > c = 3; > > end if; > > > > And this is much clearer because at a glance, you see the semicolons > > and you see end of statements! > > Check out how Fortran 95 does it. They don't seem to have the problem > you are referring to. > Fortran 95 simply recognizes logical end of record as the same as end of statement unless a special continuation character is used. Consecutive statements may be separated by ";". I think that this method was mentioned indirectly in several previous posts and was thought to be "a bad thing" because it isn't "true" free-form format. > Russ