Xref: utzoo comp.lang.pascal:2844 alt.msdos.programmer:910 Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!bnrgate!bnr-fos!bigsur!bnr-rsc!dgbt!cognos!alzabo!tris From: tris@alzabo.uucp (Tris Orendorff) Newsgroups: comp.lang.pascal,alt.msdos.programmer Subject: Re: exiting some calling ancestor in Turbo Pascal 5 Message-ID: <1989Dec19.005421.682@alzabo.uucp> Date: 19 Dec 89 00:54:21 GMT References: <8912141752.aa23459@ICS.UCI.EDU> Lines: 19 milne@ICS.UCI.EDU (Alastair Milne) writes: > Turbo Pascal gives only, as far as I know, EXIT (which exits the immediate > block, but nothing further) and HALT (which kills the whole program). > Does anybody know of a way in Turbo Pascal to obtain the effect of UCSD > Pascal's EXIT? This Month's issue of PC Magazine (V8, Number 22) has an implementation of setjmp() and longjmp () for Turbo Pascal on page 298. This should do the trick. -- Sincerely Yours Tris Orendorff tris@alzabo.uucp -----------------------------------------------------------------------