Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucsd!usc!apple!sun-barr!newstop!texsun!texbell!sugar!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.lang.forth Subject: Re: NUMBER and block files and ANS Forth Message-ID: Date: 3 Jul 90 16:31:53 GMT References: <9007020308.AA02478@ucbvax.Berkeley.EDU> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 10 In article <9007020308.AA02478@ucbvax.Berkeley.EDU> wmb%MITCH.ENG.SUN.COM@SCFVM.GSFC.NASA.GOV writes: > CATCH and THROW: Try it, you'll like it. I still think setjmp semantics are superior to catch/throw. I implemented catch and throw in Forth nearly 10 years ago, and switched to setjmp style semantics shortly thereafter. You can easily implement the semantics of catch and throw using setjmp and a common jmp_buf, but the reverse is not true. And once you have setjmp, implementing threads becomes a SMOP. -- Peter da Silva. `-_-' +1 713 274 5180.