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,96ae138aab3beb03 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-31 11:30:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!59ce1190!not-for-mail Message-ID: <3CF7C14B.C70780@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Localized Variable Declaration References: <3CF77998.9040806@yahoo.com> <3CF77CDA.3090805@yahoo.com> <3CF78D3D.3030400@yahoo.com> <3CF79AAD.70501@yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 31 May 2002 18:30:37 GMT NNTP-Posting-Host: 63.184.108.212 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1022869837 63.184.108.212 (Fri, 31 May 2002 11:30:37 PDT) NNTP-Posting-Date: Fri, 31 May 2002 11:30:37 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:25108 Date: 2002-05-31T18:30:37+00:00 List-Id: David Rasmussen wrote: > [Mostly irrelevant stuff deleted] To put it simply, you can't do it the C++ way in Ada because the C++ way is not The Ada Way. In Ada declarations are always in a clearly delimited declarative region. In C++, declarations can apparently appear anywhere. Whether this is a Good Thing is largely a matter of taste. Maybe you find The Ada Way so distasteful that you will create a version of GNAT that does it the C++ way. Maybe you'll refuse to use Ada. If not, you'll accept it and move on. -- Jeff Carter "I unclog my nose towards you." Monty Python & the Holy Grail