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)
| Parameter | Description |
| iBitsPerChar | New 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:
| Values | Meaning |
| 5 | 5 data bits |
| 6 | 6 data bits |
| 7 | 7 data bits |
| 8 | 8 data bits |
Note: You have to ensure that the communication port is open using the Open method before setting this property.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.3 | N/A |