home *** CD-ROM | disk | FTP | other *** search
- uses
- Graph;
- var
- Gd, Gm : integer;
- Row : integer;
- Title : string;
- Size : integer;
-
- begin
- Gd := Detect;
- InitGraph(Gd, Gm, '');
- if GraphResult <> grOk then
- Halt(1);
- Row := 0;
- Title := 'Turbo Graphics';
- Size := 1;
- while TextWidth(Title) < GetMaxX do
- begin
- OutTextXY(0, Row, Title);
- Inc(Row, TextHeight('M'));
- Inc(Size);
- SetTextStyle(DefaultFont, HorizDir, Size);
- end;
- Readln;
- CloseGraph;
- end.