Language:
Русский
English
{Outtxtxy.PAS}
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
{Sample code for the OutTextXY procedure.}
uses Graph;
var
Gd, Gm: Integer;
begin
Gd := Detect;
InitGraph(Gd, Gm, '');
if GraphResult <> grOk then
Halt(1);
MoveTo(0, 0);
OutText('Inefficient');
Readln;
OutTextXY(GetX, GetY, 'Also inefficient');
Readln;
ClearDevice;
OutTextXY(0, 0, 'Perfect!'); { Replaces above }
Readln;
CloseGraph;
end.