Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Multiple Attributes in One Line (https://www.delphipraxis.net/171135-multiple-attributes-one-line.html)

DP News-Robot 22. Okt 2012 13:10

Multiple Attributes in One Line
 
Apparently Delphi (at least XE2, didn’t test with others) allows you to write a comma-separated attribute list inside square brackets when annotating types and type members. IOW, following two code fragments are identical. [Name(CNameModule2Sub1)] [Description('Submodule 2.1)] TModule2Sub1Info = ...http://feeds.feedburner.com/~r/delph...~4/8MRCaZnOFu4

More...


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:31 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz