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/)
-   -   Explicitly scoped enums (https://www.delphipraxis.net/167446-explicitly-scoped-enums.html)

DP News-Robot 30. Mär 2012 07:10

Explicitly scoped enums
 
Oxygene syntax*(aka Delphi Prism) for enumerations was recently added to DWScript, with both enum and flags contextual keywords. Enumerations scoping was already in, but optional, using these keywords make scoping explicitly required. type * *TMyEnum = enum (Alpha, Beta, Gamma); ... e := ...http://feeds.feedburner.com/~r/delph...~4/M1Lw1lyE58s

More...


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:50 Uhr.

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