$TIMEOUT

Top  Previous  Next

Action

Compiler directive to specify that the TIMEOUT option is used with serial input.

 

 

Syntax

$TIMEOUT

 

 

Remarks

$TIMEOUT will modify the serial input routine so that it enables you to use the TIMEOUT with the INPUT, INPUTBIN, INPUTHEX etc. statements.

 

 

See also

INPUT , GET

 

 

Example

$TIMEOUT

DIM Name as string * 10

REM Now we can use theTIMEOUT option

INPUT "Name " , name TIMEOUT = 100000 'enable time out

INPUT "Name ", name  'wait until <13> pressed.