Close port

Command group Flag affected Reversible Execute on client Platform(s)
Report destinations NO NO NO All

Syntax

Close port

Description

This command closes the current port. You should use it after the data has been transferred.

Example

Set port name {COM1:}
Set port parameters {1200,n,7,2}
Prepare for import from port {One field per line}
Repeat
  Import field from file into lImportField
Until lImportField='start data'
Do method ImportData
Close import file