On Thu, 11 Jul 2019, J. Gareth Moreton wrote:
Should I modify the patch to allow enumerations with holes with "is" and "as"? Note that these operators will return True/not raise an error if a value falls within a hole but is otherwise between the lowest and highest elements.
IMO, yes. Michael.
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel