IsASCIILDH question

Giganews Newsgroups
Subject: IsASCIILDH question
Posted by:  chenzero (somewhe…@earth.solar.com)
Date: Mon, 13 Mar 2006

Hello everyone,

it seems that in the idGlobal.pas, following function is missing a
"not" operator in the if test.

function IsASCIILDH(const ABytes: TIdBytes): Boolean;
var i: Integer;
begin
  Result := True;
  for i := 0 to Length(ABytes) -1 do
  begin
    if IsASCIILDH(ABytes[i]) then
    begin
      Result := False;
      Exit;
    end;
  end;
end;

Regards,
chenzero

Replies