Run-Time Function: Displays the state of a port to standard output.
Module: USE DFLIB
Syntax
0 | Basic one line display |
1 | Basic information |
2 | Add modem signal control flow information |
3 | Add XON/XOFF information |
4 | Add event character information |
11 | Add timeout information |
901 | Add debug information |
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_CANCEL_IO, Using the Serial I/O Port Routines, and Communications, and Communications Functions in the Win32 SDK
Example
USE DFLIB
INTEGER(4) iresult
iresult = SPORT_SHOW_STATE( 2, 0 )
END