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,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,77829e6189e8dd57,start X-Google-Attributes: gid103376,public From: dale@cs.rmit.edu.au (Dale Stanbrough) Subject: Re: Aborting Date: 1999/06/20 Message-ID: #1/1 X-Deja-AN: 491705047 References: X-Complaints-To: abuse@cs.rmit.edu.au X-Trace: emu.cs.rmit.edu.au 929876377 27472 131.170.66.220 (20 Jun 1999 10:59:37 GMT) Organization: RMIT NNTP-Posting-Date: 20 Jun 1999 10:59:37 GMT Newsgroups: comp.lang.ada Date: 1999-06-20T10:59:37+00:00 List-Id: Jan Kroken wrote: " Is there any other way than pragma import(C,Exit,"exit") I can abort an Ada program from another place than the main procedure?" How about the following (presuming a non tasking environment)... Do_Not_Handle_This_Exception : Exception; raise Do_Not_Handle_This_Exception; or even Only_Handle_In_The_Main_Procedure : Exception; etc., with an exception handler in the main procedure. Dale