Skip to main content
Skip table of contents

CloseComPort

Purpose

Closes a communications port previously opened with OpenComPort, or the communications port associated with a resource that was opened with the OpenComPortEx command.


Parameters

Parameter: port
Type: integer
Description: The number of the port to be closed or the resource number of the port to be closed if OpenComPortEx was used to open it.


Returns

None


Example

Sample Code

VB
None


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.