[fpc-devel] Sets > 256

Frederic Da Vitoria davitofrg at gmail.com
Thu Oct 15 17:13:06 CEST 2015


2015-10-15 16:14 GMT+02:00 Michael Van Canneyt <michael at freepascal.org>:

>
> 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.
>

Would you care to explain?

-- 
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20151015/92be0b56/attachment.html>


More information about the fpc-devel mailing list