home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usc!sol.ctr.columbia.edu!sol.ctr.columbia.edu!mhall
- From: mhall@edvac.cs.oberlin.edu (Matthew Hall)
- Subject: Re: THINK Pascal & Completion Routines
- In-Reply-To: jimlynch@netcom.com's message of Sun, 10 Jan 1993 05:19:17 GMT
- References: <11369@baird.cs.strath.ac.uk> <1993Jan10.051917.28103@netcom.com>
- Sender: nobody@ctr.columbia.edu
- Organization: Oberlin College Computer Science
- Date: Mon, 11 Jan 1993 18:45:57 GMT
- Message-ID: <MHALL.93Jan11134557@edvac.cs.oberlin.edu>
- X-Posted-From: edvac.cs.oberlin.edu
- NNTP-Posting-Host: sol.ctr.columbia.edu
- Lines: 23
-
- >
- > In article <11369@baird.cs.strath.ac.uk> cr@cs.strath.ac.uk (Chris Reid) writes:
- > > I'm having problems with THINK Pascal 4 and completion
- > >routines. I record some sound and specify a completion routine
- > >that doesn't move/dispose etc. any memory. A5 is set up correctly
- > >as well. I run the the code: bang! As soon as the routine gets
- > >called my machine crashes so badly that I've got to restart.
- > >I build an application, run it, and everything works just fine.
- > >Can I use completion routines in the THINK environment????
-
- You must turn off debugging, since debugging code will crash at
- interrupt time. You can simply bracket your completion routines with
- {$D-} and {$D+} and leave the debugging option on.
-
- Hope this helps,
- -matt hall
- --
- -------------------------------------------------------------------------------
- Matt Hall. mhall@occs.oberlin.edu OR SMH9666@OBERLIN.BITNET
- (216)-775-6613 (That's a Cleveland Area code. Lucky Me)
-
- F(X)=M*X*(1-X)
-
-