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

J. Gareth Moreton gareth at moreton-family.com
Thu Jul 11 11:58:23 CEST 2019


Done!


On 11/07/2019 07:51, Michael Van Canneyt wrote:
>
>
> 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 at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190711/63d14f95/attachment.html>


More information about the fpc-devel mailing list