Home > Language Reference > Classes > StreamSerial

PortID Property

Port identifier.

Syntax

Public Property Get PortID() As Integer

Remarks

The PortID property returns the port identifier associated with the StreamSerial object. You can use the value returned by this property to directly call the Palm OS® New Serial Manager functions. This property allows you to access a port opened with HB++ from a shared library written in C.

If the StreamSerial object does not refer to an open port, this property returns zero.

For further information on shared libraries and communication between HB++ and the C language, refer to the Shared library chapter in the Programmer's Guide and the description of the Declare statement.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.3N/A