DIM hSerialPort AS SerialPort

hSerialPort = NEW SerialPort ( )

Creates a new SerialPort object.