home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l043 / 3.ddi / TXTHT.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1987-11-02  |  377 b   |  21 lines

  1. uses
  2.   Graph;
  3. var
  4.   Gd, Gm  : integer;
  5.   Y, Size : integer;
  6. begin
  7.   Gd := Detect;
  8.   InitGraph(Gd, Gm, '');
  9.   if GraphResult <> grOk then
  10.     Halt(1);
  11.   Y := 0;
  12.   for Size := 1 to 5 do
  13.   begin
  14.     SetTextStyle(DefaultFont, HorizDir, Size);
  15.     OutTextXY(0, Y, 'Turbo Graphics');
  16.     Inc(Y, TextHeight('Turbo Graphics'));
  17.   end;
  18.   Readln;
  19.   CloseGraph;
  20. end.
  21.