3
votes
Vote UpVote

Static classes, quote-delimited strings, final, hints/warnings

DelphiTools – Here is a quick summary of recent changes SVN-side for DWScript: static classes are now in DWS, like the Prism/C# variant, they are classes which cannot be instantiated and can only have class methods or properties, but as DWScript supports the concept of meta-classes, unlike in Prism/C#, they can be virtual and sub-classed (unless you mark them as “sealed” too, of course). type TStatic = class static class procedure Whatever; end; Note that a static class can only be subclassed to a static class, and can only inherit from a static class (or TObject). quote-delimited ...
Favorite? Off-Topic? Eric @ 2011-04-13 17:11

Statistics

Visits: 724
Votes: 3
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

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)