Article View: comp.lang.modula2
Article #3803Re: Simulation
From: Alex Bewley
Date: Fri, 04 Sep 1987 02:37
Date: Fri, 04 Sep 1987 02:37
8 lines
941 bytes
941 bytes
A FOR loop is not the best way to delay, various PC machines run faster or slower than each other (ie. new 386 machines run 22 times the speed of an XT) The best way, and most accurate, is to grab the system time and wait until x number of seconds or minutes have passed by continually polling the current time to the one stored at the beginning of the wait. Alex
Technical Details
Message-ID:
<8709040241.AA00717@cayuga.cs.rochester.edu>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!think!ames!sdcsvax!ucbvax!UOGUELPH.BITNET!BOTCHAIRReferences:
<MSRS002@ECNCDC>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!think!ames!sdcsvax!ucbvax!UOGUELPH.BITNET!BOTCHAIR From: BOTCHAIR@UOGUELPH.BITNET (Alex Bewley) Newsgroups: comp.lang.modula2 Subject: Re: Simulation Message-ID: <8709040241.AA00717@cayuga.cs.rochester.edu> Date: Thu, 3-Sep-87 22:37:59 EDT Article-I.D.: cayuga.8709040241.AA00717 Posted: Thu Sep 3 22:37:59 1987 Date-Received: Sat, 5-Sep-87 14:21:23 EDT References: <MSRS002@ECNCDC> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 8