Every now and then I see people “overriding” a function by introducing a function with the same name. Often this raises a lot of confusion, because the override will only work if you have the
unit of the override closer in your user scope. Example:
Unit AdoOverrideUnit; interface function VarTypeToDataType(VarType: Integer): TFieldType; implementation uses Data.DB; […]
Weiterlesen...