$ 0 0 Hi, Maybe you need to use ischarwaiting to see if a character is waiting before you call inkey. Regards Ian Dobson