DelphiTools – A quick update on recent changes in the SVN: introduced support for Prism-like ‘method‘ keyword, which can be used as an alternative for ‘procedure‘ and ‘function‘ for class methods. procedure TMyClass.MyMethodWithNoResult; function TMyClass.ReturnsAString : String; can now alternatively be written as method TMyClass.MyMethodWithNoResult; method TMyClass.ReturnsAString : String; both forms are supported, though if you declared as a ‘method‘ in the class, you’ll have to implement as a ‘method‘. local ‘const‘ section ...
Visits by Source
Users who voted for this posting