NullDiscard

This property returns and sets a value that determines whether null characters are transferred from the port to the receive buffer.

Syntax

object.NullDiscard [= value]

Parameters

object
Object expression that evaluates to a Comm control.
value
Boolean expression that specifies whether null characters are transferred from the port to the receive buffer. Following are the settings for value:
True
Null characters are not transferred from the port to the receive buffer.
False (default)
Null characters are transferred from the port to the receive buffer.

Remarks

A null character is defined as ASCII character 0, Chr(0).