SPORT_RELEASE (W*32, W*64)

 

Serial Port I/O Function: Releases a serial port that was previously connected to (by using SPORT_CONNECT).

Module

USE IFPORT

Syntax

result = SPORT_RELEASE (port)

port

(Input) Integer. The port number.

Results

The result type is INTEGER(4). The result is zero if successful; otherwise, a Windows* error value.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

Example

USE IFPORT

INTEGER(4) iresult

iresult = SPORT_RELEASE( 2 )

END

See Also