TApxComPort.PutString

TApxComPort

procedure PutString(const S : string);

Copies a string to the output buffer.

The following example transmits a string after assuring that space is available:

S := 'Guinness Stout';
if ApxComPort.OutBuffFree >= Length(S) then
  ApxComPort.PutString(S);

See also: OutBuffFree, Output, PutBlock, PutChar