WriteCenter
Purpose Writes text on the center of a line.
Decln. WriteCenter(Y,F,B:byte;Str:string);
Remarks Y is the Y coordinate or line number.
F, B are the foreground and background display colors.
Str is the display string.
Example
BEGIN
WRITECENTER(1,YELLOW,BLACK,'MAJOR HEADING');
END;