On Apr 19, 2006, at 11:04 AM, Tom wrote:

So I want to use these constants in code. To have no huge "k..." name space I have a Module where I want to use enums via "public access". So I want to call here e.g. MyModule.DirectoryBitmapConstants.kFPLongNameBit

When I want to use this in the Bitwise operator I need to cast.

So make DirectoryBitmapConstants a module, and all the enum values protected constants in that module. Sure, you end up with more modules, but this solves both your problems, does it not? You avoid a single huge namespace, and you don't have to cast constantly.

-- Asher

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to