If you control both caller and callee: do not “override” functions by introducing a f
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... |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:18 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz