Код: Выделить всё
T1, T2: real;
if Abs (T1) < 1
then
begin
T1:= T1*10;
T2:= T2*10;
end;
if Abs (T2) < 1
then
begin
T1:= T1*10;
T2:= T2*10;
end;
then....
Так у меня выдает ошибку пробовал еще по другому не получается...
Код: Выделить всё
T1, T2: real;
if Abs (T1) < 1
then
begin
T1:= T1*10;
T2:= T2*10;
end;
if Abs (T2) < 1
then
begin
T1:= T1*10;
T2:= T2*10;
end;
Код: Выделить всё
if (abs(T1)<1) and (abs(T2)<1) then begin
...
end;