Курсовая работа: Программа для проверки работы операторов
y:=sin(temp*0.017453292519)*60;
settextjustify(lefttext,toptext);
ycord:=ycord+textheight(s)*3;
outTextXy(trunc(x+getmaxx div 3+5),trunc(getmaxy div 2+4-y),s);
bar(xcord,ycord,xcord+textheight(s)*2,ycord+textheight(s)*2);
rectangle(xcord,ycord,xcord+textheight(s)*2,ycord+textheight(s)*2);
str(mas[j].count,s2);
s2:=mas[j].key+' '+s2;
outTextXy(xcord+textheight(s)*2+5,ycord+textheight(s),s2);
startangle:=nextangle;
end;
end;
outTextXy(20,getmaxy-20,'Dla vixoda najmite ENTER');
end;
var filename:string;
file1:file of char;
var i:integer;
var tstr:string;
var tc,popen:char;
function upstring(a:string):string;
var i,j:byte;
t:string;
begin
t:='';
i:=length(a);
for j:=1 to i do
:=t+upcase(a[j]);
upstring:=t;
end;