Home > Language Reference > Classes > StreamSerial

BitsPerChar Property

Number of data bits.

Syntax

Public Property Get BitsPerChar() As Integer
Public Property Let BitsPerChar(ByVal
iBitsPerChar As Integer)

ParameterDescription
iBitsPerCharNew number of data bits.

Remarks

This property sets or retrieves the number of data bits used by the serial protocol. It can take one of the following values:

ValuesMeaning
55 data bits
66 data bits
77 data bits
88 data bits

Note: You have to ensure that the communication port is open using the Open method before setting this property.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.3N/A