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

J. Gareth Moreton gareth at moreton-family.com
Tue Jul 2 21:10:39 CEST 2019


Aah, thank you.

On 02/07/2019 19:56, Michael Van Canneyt wrote:
>
>
> On Tue, 2 Jul 2019, J. Gareth Moreton wrote:
>
>> I don't recall a conversation where such an intrinsic is seen as 
>> desirable, but if such a construct is desirable, then that's a good 
>> thing since it will help patch up this problem.
>>
>> As for the Delphi problem, it's second-hand information I heard from 
>> a friend who uses Delphi at work and something about not handling 
>> out-of-range enumerations was a deal-breaker from not using FPC.  I 
>> may have some details wrong though.  But all that side, would 
>> development of an intrinsic be an acceptable solution, and what name 
>> are we going for? (One has to be careful we don't break existing code 
>> if possible)
>
>
> See this thread:
>
> https://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg35100.html
>
> 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/20190702/1fd39127/attachment-0001.html>


More information about the fpc-devel mailing list