Sorry, there are some changes neccessary:
drop the reference to unit
uAsms
delete the line
FillOnes ( ...
it was there for debugging purposes
----- Original Message -----
From: "Gerhard Scholz" <g...@g--s.de>
To: "FPC-Pascal users discussions" <fpc-pascal@lists.freepascal.org>
Cc: <dgasp...@gmail.com>
Sent: Monday, March 11, 2013 7:42 PM
Subject: Re: [fpc-pascal] Set size limit
Here is a unit that could be useful.
Works with pentium and Win32; not tested with other CPUs or operating
system.
I hope you have 7zip, or I will create a zip file.
Greetings
Gerhard
----- Original Message -----
From: "Daniel Gaspary" <dgasp...@gmail.com>
To: "FPC-Pascal users discussions" <fpc-pascal@lists.freepascal.org>
Sent: Saturday, March 09, 2013 9:52 PM
Subject: [fpc-pascal] Set size limit
Hi,
I am trying to create a Set Type...
TMyEnum = (me1, me2, me3); // more than 500 elements
TMySet = set of TMyEnum;
...but I get the following error:
"Error: illegal type declaration of set elements" [1]
The problem seems to be that TMyEnum has more than 256 elements.
Can I specify such Set with some compiler option ?
My fpc is pre 2.6, any change on new versions concerning Sets limits?
Thanks.
[1] A more specific message would help too. :)
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal