home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18338 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1.9 KB  |  47 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!unidui!rrz.uni-koeln.de!Germany.EU.net!mcsun!sunic!kth.se!hemul.nada.kth.se!d88-jwa
  3. From: d88-jwa@hemul.nada.kth.se (Jon WΣtte)
  4. Subject: Re: WaitNextEvent availability
  5. Message-ID: <1992Nov12.195109.14062@kth.se>
  6. Sender: usenet@kth.se (Usenet)
  7. Nntp-Posting-Host: hemul.nada.kth.se
  8. Organization: Royal Institute of Technology, Stockholm, Sweden
  9. References: <1dsp39INN9sq@huon.itd.adelaide.edu.au>
  10. Date: Thu, 12 Nov 1992 19:51:09 GMT
  11. Lines: 34
  12.  
  13. In <1dsp39INN9sq@huon.itd.adelaide.edu.au> Craig Kloeden <ckloeden@f.itd.adelaide.edu.au> writes:
  14.  
  15. >WaitNextEvent exist?
  16.  
  17. Any system with MultiFinder on, and System 6.0 and up even
  18. if MultiFinder is off. I don't give a **** about people running
  19. systems < 6.0, so I always call WaitNextEvent. I'm starting to
  20. demand System 7 as well, these days.
  21.  
  22. >Also, is there an easy way to tell if it is available?
  23.  
  24. Sure, just call NGetTrapAddress with the trap number of
  25. WaitNextEvent, and compare to the address of the unimplemented
  26. trap.
  27.  
  28. ABout MultiFinder; you don't want to or need to know wether
  29. it is implemented or not.
  30.  
  31. >I have looked at the stuff in IM VI but the references
  32. >to GetTrapAddress and NGetTrapAddress confuse me
  33. >somewhat. Like when is NGetTrapAddress available and
  34. >how do you interpret what it returns etc.
  35.  
  36. NGetTrapAddress is implemented on all but the very oldest
  37. macs. A Plus and up surely has NGetTrapAddress. The sad
  38. truth about Inside Mac I-III is that they contain a lot of
  39. irrelevant (now) or old material, and IV and V also feel
  40. "old."
  41.  
  42. -- 
  43.  -- Jon W{tte, h+@nada.kth.se, Mac Hacker Suedoise (not french speaking) --
  44.  
  45.    There's no problem that can't be solved using brute-force algorithms
  46.    and a sufficiently fast computer. Ergo, buy more hardware.
  47.