[xinf] DOM Events?

Nicolas Cannasse ncannasse at motion-twin.com
Fri Jun 23 18:15:27 CEST 2006


> The problem with enums is that they are just numbers. 

Who said that ?

enum X {
   Abc;
   SomethingElse;
}

trace(Std.string(Abc)); "Abc"
trace(Std.string(SomethingElse)); "SomethingElse"
trace(Std.is(Abc,X)); // true

However, yes, enums need to be commonly compiled by different units.

Nicolas


More information about the xinf mailing list