🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5141

Breaking out of reads with the clock interrupt

#5141
From: Christopher Georges
Date: Tue, 12 Mar 1991 08:22
10 lines
974 bytes
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
Technical Details
Message-ID: <1991Mar12.082224.3548@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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