
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_comread()
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
C_COMREAD()
DESCRIPTION
C_COMREAD() reads a character from the specified COM port.
C_COMREAD() waits for a character to be read from the port then
returns the character.
SYNTAX
C_COMREAD(port)
PARAMETERS
port (N) is the COM port to read (1=COM1, 2=COM2, etc.). The value
can be any valid COM port number.
RETURNS
C_COMREAD() returns the character read from the specified port as a
numeric ASCII value.
EXAMPLES
ch = c_comread(1) && read a character from COM1
See Also: C_COMSTAT() C_COMINIT() C_COMWRITE() C_ISCOM() C_ISMODEM()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson