Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

OnLineEnd event

Project: I/O Utility Classes

Unit: PJPipeFilters

Class: TPJAnsiSBCSPipeFilter

Applies to: ~>1.0

property OnLineEnd: TPJAnsiTextReadEvent;


This event is triggered whenever an end of a line is encountered in the ANSI text read from the associated pipe. Line ends are determined by the value of the EOLMarker property.

The event can also be triggered when the Flush method is called or when the object is destroyed. This occurs if there is some text remaining that has not been terminated by the end of line marker.

The event handler is passed the following parameters:


Suppose we have a TPJAnsiSBCSPipeFilter object created on a pipe that contains the following ANSI text:

Lorem ipsum<EOL>intellegam<EOL>dissentias<EOL>te sea

The EOLMarker property is set to “<EOL>”. We perform three pipe reads and a flush operation before destroying the object. Here’s what happens:

See Also