Run-Time Function: Returns information about the availability of input data.
Module: USE DFLIB
Syntax
Results:
The result is of type INTEGER(4). The result is zero if successful; otherwise, a Win32 error value.
Compatibility
CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB
See Also: SPORT_CONNECT, SPORT_READ_DATA, SPORT_PEEK_LINE, Using the Serial I/O Port Routines, and Communications, and Communications Functions in the Win32 SDK
Example
USE DFLIB
INTEGER(4) iresult
INTEGER present
INTEGER count
iresult = SPORT_PEEK_DATA( 2, present, count )
END