[fpc-pascal] Set size limit
Graeme Geldenhuys
graeme at geldenhuys.co.uk
Sun Mar 10 13:38:01 CET 2013
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.
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
More information about the fpc-pascal
mailing list