In our previous episode, Graeme Geldenhuys said: > On 2013-03-09 20:52, Daniel Gaspary wrote: > > > > The problem seems to be that TMyEnum has more than 256 elements. > > Can I specify such Set with some compiler option ? > > No. As far as I understand, sets are stored in 1 byte internally - as > binary values. 256 is the max number of elements (bit values) it can > hold in a byte.
Sets are up to 32-byte (256bits), enums can be up to 32-bit. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal