W3bbo said:vesuvius said:*snip*I use default: for dealing with unexpected enum values.
I'd like to see the introduction of String Enums and possibly Java-style enumerations, except without the boneheadness.
I add that as an enumeration, i.e.
enum Fruits{
Unknown = 0,
Apples,
Oranges,
Lemons,
Bananas
};