CRT Documentation: Reference

ClrEol

Clears all characters from the cursor position to the end of the line without moving the cursor.

procedure ClrEol;

Parameters

This procedure has no parameters.

Remarks

All character positions are set to blanks with the currently defined text attributes. Thus, if TextBackground is not black, the current cursor position to the right edge becomes the background color.

ClrEol is window-relative. The following program lines define a text window and clear the current line from the cursor position (1, 1) to the right edge of the active window (60, 1).

Window(1, 1, 60, 20);
ClrEol;

See Also

Crt Overview, ClrScr