On Wed, 22 Dec 2021 17:07:55 +0100, Sven Barth via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:

>Bo Berglund via fpc-pascal <fpc-pascal@lists.freepascal.org> schrieb am
>Mi., 22. Dez. 2021, 16:08:
>
>> So I wonder if there is a value range limitation for the arguments inside
>> an in
>> command like:
>> if a in [x..y] then
>>
>
>The right side of the in-operator is a set constructor. And sets may only
>contain up to 256 values. (Though I don't know right now whether that is
>always counted from 0 or not)
>

Ok, thanks. Figured that it was something like that.
So I have to stack several if conditions instead.


-- 
Bo Berglund
Developer in Sweden

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to