Run-Time Function: Outputs data, followed by a record terminator, to the specified port.
Module: USE DFLIB
Syntax
Results:
The result is of type INTEGER(4). The result is zero if successful; otherwise, a Win32 error value.
After the data is output, a line terminator character is added based on the mode used during the SPORT_CONNECT( ) call.
Compatibility
CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB
See Also: SPORT_CONNECT, SPORT_WRITE_DATA, SPORT_READ_DATA, Using the Serial I/O Port Routines, and Communications, and Communications Functions in the Win32 SDK
Example
USE DFLIB
INTEGER(4) iresult
iresult = SPORT_WRITE_LINE( 2, 'ATZ', 0 )
END