Quote:
Originally Posted by thomas
Unfortunately it is not possible to time out a Read() request from a CON window. This means any program which takes editable input cannot time out. But a program can temporarily switch the window into RAW mode and wait for a single key press.
Here is an example: http://thomas-rapp.homepage.t-online...aitForChar.lha
|
Wow. thanks that's exactly what I was after.. thanks a lot I wouldn't have come up with that myself.. didn't realise about the con restriction.
Btw.. the failat and if warn just use the return code from main do they ?
(0 - Ok, 5 - Warn, 10 - Error, 20 - Fail)