NullDiscard

Determines whether null characters are transferred from the port to the receive buffer.

Syntax

object.NullDiscard [ = value ]

The parts of the NullDiscard property syntax are described in the following table.

Part Description
object An object expression that evaluates to an object.
value A Boolean expression that specifies whether null characters are transferred from the port to the receive buffer, as described in Settings

Settings

The settings for value are described in the following table.

Setting Description
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).

Data Type

Boolean