24-10-2022, 05:31 PM
وضعتها تحت public عطاتني خطا
public
function StrToHex(S: String): String;
var I: Integer;
begin
Result:= '';
for I := 1 to length (S) do
Result:= Result+IntToHex(ord(S[i]),2);
end;
{ Public declarations }
end;
public
function StrToHex(S: String): String;
var I: Integer;
begin
Result:= '';
for I := 1 to length (S) do
Result:= Result+IntToHex(ord(S[i]),2);
end;
{ Public declarations }
end;

