* Int64 support for AsType

This commit is contained in:
Michaël Van Canneyt 2024-12-05 17:25:12 +01:00
parent 7b3fcc2a2e
commit a1a0c0e9ba

View File

@ -570,6 +570,10 @@ begin
if (lTmp.I32<Lows[lOrd]) or (lTmp.I32>Highs[lOrd]) then
raise EConvertError.CreateFmt('Integer not in range %d to %s',[Lows[lOrd],Highs[lOrd]]);
end;
tkInt64 :
begin
lTmp.I64:=StrToInt64(S);
end;
tkEnumeration:
begin
lTmp.I32:=GetEnumValue(aInfo,S);