I have a set of enumeration values that have 138 values. Something like:
type
TSomething = (sOne, sTwo, sThree, ..., ..., sOnehundredAndThirtyeight);
TSomethings = set of TSomething;
....
TSomething = class(TPersistent)
private
fSomethings: TSomethings;
published
property Somethings: TSomethings read fSomethings write fSomethings;
end;
When compiling this I get the following error message:
[DCC Error] uProfilesManagement.pas(20): E2187 Size of published set 'Something' is >4 bytes
Any idea on how I can include a set of this size inside a published property?
I need to include this set on the published section because I'm using OmniXMLPersistent to save the class into a XML and it only saves published properties.