Very interesting:

Very interesting:

function Apples(nb : Integer) : String;
begin
   Result := IntToStr(nb) + ' apple(s)';
end;

and

function Apples(nb : Integer) : String;
begin
   Result := IntToStr(nb);
   Result := Result + ' apple(s)';
end;

Which function faster? ... Second, at least half!
http://www.delphifeeds.com/go/f/109513

Comments

Post a Comment