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=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 19:07:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!cyclone.swbell.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3D59BB4C.AA21BDA@despammed.com> From: Wes Groleau Reply-To: wesgroleau@despammed.com X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,es-MX,es,pt,fr-CA,fr MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: stupid question: how can I finish a program? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 13 Aug 2002 21:07:08 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1029290847 151.168.144.162 (Tue, 13 Aug 2002 21:07:27 CDT) NNTP-Posting-Date: Tue, 13 Aug 2002 21:07:27 CDT Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:28003 Date: 2002-08-13T21:07:08-05:00 List-Id: > 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