9
votes
Vote UpVote

Helpers added to DWScript

DelphiTools – In the SVN version, DWScript now has experimental support for helpers. This is a generalization of Delphi’s class helpers, which can be applied to (almost) any type. You can also have multiple helpers per type. The syntax if currently the following: type TMyHelper = helper for some_type_here private ...private helper methods, class vars & class consts... public ...public helper methods, class vars & class consts... end; You can have helpers for base types, classes, records, interfaces or arrays. For instance if you write type TFloatHelper = ...
Favorite? Off-Topic? Eric @ 2012-05-02 09:13

Statistics

Visits: 466
Votes: 9
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Chris
Ericc
Jan Derk
Jeroen Pluimers
knight_killer
Primoz Gabrijelcic
Wouter
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)