TApxComPort.PutChar

TApxComPort

procedure PutChar(const C : Char);

Copies a single character to the output buffer.

The following example transmits one character after assuring that space is available:

if ApxComPort.OutBuffFree >= 1 then
  ApxComPort.PutChar(C);

See also: OutBuffFree, PutBlock, PutString