Hello all,
As the subject implies, code that has previously ran:
-----------
Type TSomeEnumSet = Set OF (seOne, seTwo, seThree, seFour);
Var SomeSet : TSomeEnumSet;
Begin
Writeln(Integer(SomeSet) );
End.-----------
Results in: Error: Illegal type conversion: "TSomeEnumSet" to "LongInt"
-----------
This should be possible (in the documentation for a set " The compiler stores small sets (less than 32 elements) in a Longint"), what has changed? (using latest SVN as of 5-10 minutes ago :p)
- Dennis
