View Single Post
Old 27 May 2013, 14:30   #3
Vot
Registered User
 
Join Date: Aug 2012
Location: Australia
Posts: 651
Quote:
Originally Posted by thomas View Post
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)
Vot is offline  
 
Page generated in 0.04271 seconds with 11 queries