Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.016 Beiträge
 
#1

In the series “avoid Variants when coding in Delphi”: the comparison operator

  Alt 18. Aug 2020, 12:10
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...
  Mit Zitat antworten Zitat