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,92c39a3be0a7f17d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-08 08:56:15 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!xyzzy!nntp From: Jeffrey Carter Subject: Re: Future with Ada X-Nntp-Posting-Host: e246420.msc.az.boeing.com Content-Type: text/plain; charset=us-ascii Message-ID: <3C88E832.8BE487B5@boeing.com> Sender: nntp@news.boeing.com (Boeing NNTP News Access) Content-Transfer-Encoding: 7bit Organization: The Boeing Company X-Accept-Language: en References: Mime-Version: 1.0 Date: Fri, 8 Mar 2002 16:34:58 GMT X-Mailer: Mozilla 4.73 [en]C-CCK-MCD Boeing Kit (WinNT; U) Xref: archiver1.google.com comp.lang.ada:20947 Date: 2002-03-08T16:34:58+00:00 List-Id: Christoph Grein wrote: > > Just to please the curly-braced people :-) > > procedure X is > > -- declarations > > begin {X} > > -- statements > > exception {X} > > when ...... > > -- statements > > end X; No, it should be procedure X is ... begin X ... exception X ... end X; and make them mandatory! Of course, the shorthand form for a block then becomes X : begin X ... end X; which I'm sure everyone will agree is an improvement, but that really should be X : declare null; -- Empty declarative region must be explicit begin X ... end X; -- Jeffrey Carter