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)

Regards,
Sven

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

Reply via email to