[fpc-devel] Sets > 256
Michael Van Canneyt
michael at freepascal.org
Thu Oct 15 16:14:31 CEST 2015
On Thu, 15 Oct 2015, Frederic Da Vitoria wrote:
> 2015-10-15 14:58 GMT+02:00 DaWorm <daworm at gmail.com>:
>
>> On Wed, Oct 14, 2015 at 5:36 AM, Michael Schnell <mschnell at lumino.de>
>> wrote:
>>
>>> (Not hitchhiking the other thread...)
>>>
>>> On 13/10/15 19:59, Mohsen wrote:
>>>
>>>>
>>>> Pascal sets can only contain values/enumerations whose ordinal value is
>>>> <= 255.
>>>>
>>> As currently new language features are discussed I would vote to drop (or
>>> relax to some K ) this limitation. This would not break any existing code.
>>>
>>>
>> What if someone is storing a set in a file, or a stream? Old version
>> saves it, new version reads it, and all of the sudden the data isn't in the
>> same format.
>>
>
> Yes, this would be a problem. But wouldn't this be an acceptable price for
> the improvement?
No, it is not that simple. Lazarus would stop working completely.
Michael.
More information about the fpc-devel
mailing list