SPORT_RELEASE

Run-Time Function: Releases a serial port that was previously connected to (by using SPORT_CONNECT).

Module: USE DFLIB

Syntax

iresult = SPORT_RELEASE (port)

port
(Input) Integer. The port number.

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, Using the Serial I/O Port Routines, and Communications, and Communications Functions in the Win32 SDK

Example

USE DFLIB
INTEGER(4) iresult
iresult =  SPORT_RELEASE( 2 )
END