Курсовая работа: Програма переводу з однієї системи числення у іншу
else dov:=exit;screen;goto m1;
end;
#77:begin
if dov <> exit then dov:=succ(dov)
else dov:=ten_to_;screen;goto m1;
end;
end;
sub_ten_to_;
until sim=#13;
case dov1 of
ten_to_two:begin ten_to(2);screen;
golovnemenu;goto m4;end;
ten_to_eight:begin ten_to(8);screen;
golovnemenu;goto m4;end;
ten_to_sixteen:begin ten_to(16);screen;
golovnemenu;goto m4;end;
end;
m4:until false;
end;
_to_ten:begin
repeat{1}
sub_to_ten;
repeat{2}
sim:=readkey;
if(sim=#0) and keypressed then sim:=readkey;
case sim of
#80:if dov2 <> sixteen_to_ten then dov2:=succ(dov2)
else dov2:=two_to_ten;
#72:if dov2<> two_to_ten then dov2:=pred(dov2)