Inputs a line from the CRT window.
function ReadBuf(Buffer: PChar; Count: Word): Word;
This function is passed two parameters: Buffer and Count. Buffer points to a line buffer that has room for up to Count characters. Count contains the number of characters to read. Up to Count2 characters can be input. An end-of-line marker (a #13 followed by a #10) is automatically appended to the line when the user presses Enter.
Number of characters read, including the end-of-line or end-of-file marker.