Path: utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bgsuvax!denbeste From: denbeste@bgsuvax.UUCP (William C. DenBesten) Newsgroups: comp.sys.mac.programmer Subject: Re: mac programming question Message-ID: <4018@bgsuvax.UUCP> Date: 17 Apr 89 16:55:50 GMT References: Organization: Bowling Green State University B.G., Oh. Lines: 19 From article , by dk1y+@andrew.cmu.edu (David Kosmal): > ... measure the time interval between a the appearance of a display on the > screen and when the viewer presses a key. This time interval must be measured > within 1/100th of a second. Take a look at the Toolbox Event manager in Inside Macintosh. The event record that is returned includes a field, 'when', that tells when the event happened in 60ths of a second since the computer was turned on. Keypresses are returned as events. I would strongly recommend going with 60th of a second resolution, rather than monkeying around with low level stuff. This way you won't have to make any funny patches that could affect future compatibility. You can call TickCount() to find out the current 60th of a second. -- William C. DenBesten denbeste@bgsu.edu denbesten@bgsuopie.bitnet