+ Patch from Michalis Kamburelis to fix hex2dec behaviour in case of error

git-svn-id: trunk@2373 -
This commit is contained in:
michael 2006-01-29 10:28:37 +00:00
parent 8c408e67fd
commit dcb932d367

View File

@ -1156,7 +1156,7 @@ begin
HexStr:='$'+ S HexStr:='$'+ S
else else
HexStr:=S; HexStr:=S;
Result:=StrTointDef(HexStr,0); Result:=StrToInt(HexStr);
end; end;
function Dec2Numb(N: Longint; Len, Base: Byte): string; function Dec2Numb(N: Longint; Len, Base: Byte): string;