[fpc-devel] [Suggestion] Enumeration range-check intrinsic

Michael Van Canneyt michael at freepascal.org
Thu Jul 11 08:51:00 CEST 2019



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.


More information about the fpc-devel mailing list