At 4:44 PM +0200 4/19/06, Tom wrote:

Agreed. Still I think it should be possible to cast the value one time in the enum and not every time I use the enum.

Hmm, doesn't seem to me that it is still an enum then. You're counting on these enums having particular integer values; so you should simply be using integer constants instead of enums. Enums, properly used, don't even need to HAVE any integer values -- they're just unique, opaque identifiers within a set.

Best,
- Joe

--

Joseph J. Strout
[EMAIL PROTECTED]
_______________________________________________
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