Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 Fluke 8/7/84; site fluke.UUCP Path: utzoo!decvax!decwrl!amd!dual!qantel!intelca!hplabs!pesnta!petsd!vax135!cornell!uw-beaver!ssc-vax!fluke!nevius From: nevius@fluke.UUCP (this space for rent) Newsgroups: net.micro.pc Subject: WAIT Command for PC-DOS and BASIC Message-ID: <744@vax1.fluke.UUCP> Date: Mon, 1-Oct-84 19:07:57 EDT Article-I.D.: vax1.744 Posted: Mon Oct 1 19:07:57 1984 Date-Received: Fri, 5-Oct-84 15:11:15 EDT Distribution: na Organization: John Fluke Mfg. Co., Everett, WA Lines: 28 It should be so simple. . . I need some way to create the equivalent of the WAIT nnn, or PAUSE nnn, statements that are found in many BASIC's (where nnn is some number of milliseconds). But I can't seem to find any satisfactory way with MS-DOS and the standard issue Microsoft BASIC. The alternative of using a FOR/NEXT is not particulary attractive because of the ammount of time I would like to wait (~300-500 msec) and the fact I want to compile the BASIC program. I would really like some code that works well both in Interpreted and Compiled BASIC and if I make a FOR/NEXT loop long enough for the Compiled version, I'll be old and gray before the Interpreted version hacks its way through. I am aware of a WAIT command in the language, but it test I/O lines for bits being set. In theory I should be able to get to some sort of clock and count the tics. But, I have searched in vain through big blue's hardware manual with no luck. Help!!! Thanks, John Nevius decvax!uw-beaver!fluke!nevius