Delphi Haven – As I said in my last post, while I haven’t come across a code sample in the help as bad as the action manager one, I do find a slight air of dubiousness amongst the code examples generally. I don’t think this is a new phenomenon mind – the D7 help is in places just as bad. Neatly, the case of the example code for StrUpper and StrUpper illustrates this. So, here’s what it looked like in the D7 help: uses SysUtils; const S: PChar = 'A fUnNy StRiNg' begin Canvas.TextOut(5, 10, string(StrLower(S)) + ' ' + string(StrUpper(S))); end; Horrible or what! Not only does it ...
Visits by Source
Users who voted for this posting