Forum: Klatsch und Tratsch
by Der schöne Günther,
21. Apr 2016
Consider the following:
IFirstInterface = interface
procedure doStuff();
end;
ISecondInterface = interface
procedure doStuff();
end;
Forum: Klatsch und Tratsch
by Der schöne Günther,
3. Mär 2016
I have updated from 2015.10 to 2015.11 and would like to report a few things:
Fatal Parse error
caused by the following code: function TSomeClass.calcSomething(const someCount: Integer): Integer;
begin
Result := 'REG11111;2;33333333;44444444;55555555'.Length * someCount; // <-- This line
end;
This did not cause a fatal error in 2015.10
Forum: Klatsch und Tratsch
by Der schöne Günther,
4. Okt 2015
Neat! That is WAY better than using IFDEF blocks :thumb:
Forum: Klatsch und Tratsch
by Der schöne Günther,
20. Jul 2015
Also, whether class helpers should be checked for a missing "inherited" call in the constructor is also debatable. An "inherited" statement in a class helper constructor is illegal.
Forum: Klatsch und Tratsch
by Der schöne Günther,
2. Jul 2015
I always explicitly derive from TObject and call the (empty) inherited constructor. Java, for example, is different: It implicitly calls the inherited parameterless constructor (if there's any). Otherwise, it's a compile time error.
Another reason is that it often happened to me that I omitted the (then redundant) call to the super constructor but later decided to derive the class from...
Forum: Klatsch und Tratsch
by Der schöne Günther,
28. Mai 2015
Please have a look at
http://www.delphipraxis.net/1303391-post1.html
Is it possible for FixInsight to raise a W1037? Dcc32 and Dcc64 fail to do so.
Forum: Klatsch und Tratsch
by Der schöne Günther,
23. Mär 2015
Eine Email hatte ich geschrieben, die UserVoice-Seite kannte ich hingegen überhaupt nicht. Danke! :thumb:
Forum: Klatsch und Tratsch
by Der schöne Günther,
18. Mär 2015
Großer Gott, ich saß jetzt bestimmt 30-45 Minuten an einem Problem das schlichtweg darin begründet lag dass ein Schlaubold das inherited im Destruktor weggelassen hat. Nichts hat mich weitergebracht bis ich es eher durch Zufall gefunden hatte.
Ich glaube langsam auch dass wir das Tool brauchen :bounce2: