Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!seismo!mcvax!ukc!its63b!hwcs!gary From: gary@hwcs.UUCP Newsgroups: comp.sys.atari.st Subject: Help wanted with Cconin()... Message-ID: <143@ormazd.cs.hw.ac.uk> Date: Tue, 24-Mar-87 20:43:39 EST Article-I.D.: ormazd.143 Posted: Tue Mar 24 20:43:39 1987 Date-Received: Fri, 27-Mar-87 06:37:35 EST Reply-To: gary@cs.hw.ac.uk (Gary I McGill) Organization: Computer Science, Heriot-Watt U., Scotland Lines: 31 HELP! Can anyone explain why, when using Cconis() to poll the keyboard, and Crawcin() to read available characters, I always lose either : a) the first 8/9 characters, or b) the 1st, 3rd, 5th, ... 9th characters. I wrote a short test program to investigate this, and it WORKED. However, in my *large* program, it fails every time. The code for reading charactes is the same in both cases, although, in the large program, windows are opened etc before input is polled for. If anyone has had this problem too (and solved it), I would be grateful for any hints... Thanks in advance. PS : I am using a 1040st with Megamax C. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % Gary McGill, JANET : gary@uk.ac.hw.cs % % Dept of Computer Science, ARPA : gary@cs.hw.ac.uk % % Heriot-Watt University, UUCP : ...ukc!cs.hw.ac.uk!gary % % Edinburgh, % % Scotland. 'Grapefruit is in the eye of the beholder' % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%