Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Damned ! var Comp : function(const s1, s2: string): Boolean; begin if CheckB… (https://www.delphipraxis.net/194892-damned-var-comp-function-const-s1-s2-string-boolean%3B-begin-if-checkb%85.html)

DP News-Robot 17. Jan 2018 09:12

Damned ! var Comp : function(const s1, s2: string): Boolean; begin if CheckB…
 
One of my main gripes about lots of RTL/VCL/FMX code: conventions are often lacking. Which means one of the below functions starts with Ansi (but does a Unicode operation) and the other has the parameters in reverse. var Comp: function(const s1, s2: string): Boolean; begin if CheckBox1.Checked then Comp := ContainsText else Comp := AnsiStartsText; […]


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:49 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz