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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,8002154d2966e1a1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-07 07:40:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsswitch.lcs.mit.edu!newsfeed.mathworks.com!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Local vs global variables in ADA Date: Thu, 7 Nov 2002 16:38:32 +0100 Organization: Guest of France Telecom Oleane's newsreading service Message-ID: References: <5Ldx9.3695$151.38236@weber.videotron.net> <27331d9e.0211060640.6cb14b24@posting.google.com> <0tbcqa.nk3.ln@beastie.ix.netcom.com> NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1036683541 30240 195.25.228.57 (7 Nov 2002 15:39:01 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Thu, 7 Nov 2002 15:39:01 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Xref: archiver1.google.com comp.lang.ada:30537 Date: 2002-11-07T16:38:32+01:00 List-Id: "Robert A Duff" a �crit dans le message news: wccznslbf5z.fsf@shell01.TheWorld.com... > Dennis Lee Bieber writes: > For example, I did a lot of Pascal programming a long time ago, and I > don't think I *ever* wrote a backward-jumping goto. But I wrote quite a > few loop-exiting gotos (since Pascal doesn't have Ada's "exit" or > "return"). And quite a few "while True do...", since Pascal doesn't > have Ada's plain "loop". > And of course, in Pascal you had to use gotos for exceptions... Hence the proverb (translated from the french book "Ada avec le sourire" (Ada with a smile): "Never use gotos, and the exception confirms the rule" :-) -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr