Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!usc!snorkelwacker.mit.edu!stanford.edu!agate!earthquake.Berkeley.EDU!georges From: georges@earthquake.Berkeley.EDU (Christopher Georges) Newsgroups: comp.os.msdos.programmer Subject: Breaking out of reads with the clock interrupt Message-ID: <1991Mar12.082224.3548@agate.berkeley.edu> Date: 12 Mar 91 08:22:24 GMT Sender: usenet@agate.berkeley.edu (USENET Administrator) Distribution: na Organization: ucb Lines: 10 I have an on-screen clock that is visible while the user is typing input. What I'd like to do is when the clock reaches a certain point, if the user has not completed typing I want to use the clock interrupt to break out of the read call (It's a readln call in Turbo Pascal if that makes any difference) and continue my program. Is this possible without screwing everything up, and if so, how? Any help would be greatly appreciated. Thanks, chris