home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 21190 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.7 KB  |  38 lines

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