Subject Re: [IBO] DML Caching
Author Geoff Worboys
> Assigning it from AsInt64 in Delphi 6 didn't work. I
> am using AsExtended and this seems to work fine.

Do you know if Extended in variant is treated as 80bit double for all
operations - or do they get downsized to 64bit doubles? If they can
be relied on to be always 80bit then perhaps it would OK - since the
significance is close to the same (but not exactly). However I
suspect that problems are likely at the limits of int64.

This was the reason I suggested using AsString (varString variant),
since this should allow fully accurate representation - even though it
is probably not as efficient.

The only other alternative would be to find some alternative to using
variant arrays when int64s may be involved.

Geoff Worboys
Telesis Computing