DP News-Robot |
18. Aug 2020 13:10 |
In the series “avoid Variants when coding in Delphi”: the comparison operator
For Variant types, the = comparison operator in Delphi maps to the VarCompareValue in the Variants unit. That function fails to handle various comparisons and for some it knows it can handle raises a VarInvalidOp*through various code paths (like CheckType) to VarInvalidOp*because the implementation limits itself to varEmpty..varUInt64, which I think means that these are […]
Weiterlesen...
|