6
votes
Vote UpVote

DWScript SVN: method keyword and other changes

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 ...
Favorite? Off-Topic? Eric @ 2010-10-14 11:41

Statistics

Visits: 464
Votes: 6
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Charles Ardour
Daniele Teti
Francis Ruiz
knight_killer
Yogi Yang
Zzzzz
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)