TApxComPort.CharReady

TApxComPort

function CharReady : Boolean;

Returns True if at least one character is in the dispatcher buffer.

Don't use CharReady in OnTriggerAvail event handlers. Doing so can interfere with the dispatcher's data tracking ability, leading to errors or lost data. This function is provided for the rare cases where you need to call GetChar outside of an event handler.

See also: GetChar