Prompt for port name

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

Syntax

Prompt for port name

Description

This command displays the Set port dialog box that lets the user select a port. The flag is set if the port is successfully selected; if the user cancels, the flag is cleared and the port closed.

You can set the baud rate and other parameters for the port using Set port parameters.

If the command is in a reversible block, the port is closed when the method terminates.

Example

Prompt for port name 
Prepare for import from port
If flag true
  Import data lImportList
End If
End import
Close port