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.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f6ee8ca03c176d76 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-13 22:55:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!enst.fr!not-for-mail From: "Robert C. Leif" Newsgroups: comp.lang.ada Subject: RE: stupid question: how can I finish a program? Date: Tue, 13 Aug 2002 22:53:42 -0700 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1029304503 88456 137.194.161.2 (14 Aug 2002 05:55:03 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Wed, 14 Aug 2002 05:55:03 +0000 (UTC) Return-Path: X-Envelope-From: rleif@rleif.com X-Envelope-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <3D59BB4C.AA21BDA@despammed.com> Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.12 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:28006 Date: 2002-08-13T22:53:42-07:00 From: Bob Leif To: Wes Groleau Although, you are technically correct, this termination may occur much later than one desires. A large amount of extraneous output can be produced before termination. I normally store the information produced by an exception in a log file. I would like to minimize the size of this file, in order to quickly find my mistakes. -----Original Message----- From: comp.lang.ada-admin@ada.eu.org [mailto:comp.lang.ada-admin@ada.eu.org] On Behalf Of Wes Groleau Sent: Tuesday, August 13, 2002 7:07 PM To: comp.lang.ada@ada.eu.org Subject: Re: stupid question: how can I finish a program? > Since it is quite common to terminate a commercial program after an > exception is raised, it would be quite useful if Ada 200? would include > a standard procedure for this. This has been in Ada all along. If there is no exception handler, the program terminates. If the only exception handler is at the top level, the program terminates after executing the handler. If there is a lower-level exception handler, you convert to one of the above situations by adding "raise;" to the handler. -- Wes Groleau http://freepages.rootsweb.com/~wgroleau