Name

RECEIVE CHAR —

Synopsis

RECEIVE CHAR timeout 

Receives a character of text on a channel. Specify a timeout in milliseconds as the maximum amount of time to wait for input, or set to 0 to wait infinitely. Note that most channels do not support the reception of text.

Return values:

-1 (hangup)

Failure or hangup

char (timeout)

Timeout

value

ASCII value of character, in decimal