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,f6ee8ca03c176d76 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-13 07:38:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep3-gui.server.ntli.net.POSTED!53ab2750!not-for-mail From: "chris.danx" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020721 X-Accept-Language: en-gb, en-us, en 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; format=flowed Content-Transfer-Encoding: 7bit X-Inktomi-Trace: pc2-bbrg1-4-cust58.ren.cable.ntl.com 1029249517 14655 80.4.70.58 (13 Aug 2002 14:38:37 GMT) Message-ID: Date: Tue, 13 Aug 2002 15:37:54 +0100 NNTP-Posting-Host: 80.3.128.5 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep3-gui.server.ntli.net 1029249517 80.3.128.5 (Tue, 13 Aug 2002 15:38:37 BST) NNTP-Posting-Date: Tue, 13 Aug 2002 15:38:37 BST Organization: ntl News Service Xref: archiver1.google.com comp.lang.ada:27979 Date: 2002-08-13T15:37:54+01:00 List-Id: drmed wrote: > hi, > Is there a function which quit/exit/end a program? -> whitout using > the signals (like SIGINT ... etc). > Only a one-line function. Think GNAT has a procedure to terminate if that's the compiler in question. hang on... Yep, in gnat.os_lib there is a procedure gnat.os_lib.OS_Exit which quits a program. Other compilers might provide a similar function. -- for personal replies change 'spamoff' to 'chris'