Обучающая программа Графика программированию в графическом режиме на языке turbo-pascal 7.x
readkey;
If(CH<>'1') and (CH<>'2') and (CH<>'3') and (CH<>'4') then
begin
SetFillStyle(1,11);
Bar(318,320,327,340);
GoTo 2;
end
else
repeat
Read(F53,Atr);
R2:=StrPas(Atr.P2);
Val(R2,Z2,Code);
If Z2=Z1 then
begin
repeat
If Atr.P3=CH then
begin
Y:=100;
OKNO;
repeat
Stt:=StrPas(Atr.P4);
R5:=StrPas(Atr.P5); {формирование оценки}
Val(R5,Z5,Code);
REZ5:=Round((REZ5+Z5)/2);
OutTextXY(20,Y,Stt);
Y:=Y+10;
case Atr.P1 of
'1':begin
end;
'0':GoTo 3;
end;
Read(F53,Atr);
until Atr.P3='*';
readkey;
GOTO 3;
end
else Read(F53,Atr);
until Atr.P1='*';
end
until Atr.P1='0';
end