Witam :) mam szybkie i głupie pytanie:
Co zadziała szybciej ?
To:
begin
if cos1 and cos2 then cosa;
if cos3 and cos4 then cosb;
if cos5 and cos6 then cosc;
if cos7 and cos8 then cosd;
end;
Czy to:
begin
if cos1 then
if cos2 then cosa;
if cos3 then
if cos4 then cosb;
if cos5 then
if cos6 then cosc;
if cos7 then
if cos8 then cosd;
end;
P.S.: Są jakieś sposoby żeby case...of działało dla stringów ?