... > This is an excellent case where enums are the wrong data type: these > are constants. >
Yes. I agree. But what about the assignment of a value? If you're assigning an enum to a variable with that same enum type, you don't need to cast. In the listed example, they should be Integer constants and assigned to variables of type Integer. Again, no casting required. With such "integer enums" it would be possible to use such C enums in a simple way. Yes, and doing so would be bad practice. I can also create a variable named O000O0000 in both C and RB. Is doing so smart? Craig _______________________________________________ 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>
