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

Ben Grasset operator97 at gmail.com
Sat Jul 13 22:37:55 CEST 2019


On Sat, Jul 13, 2019 at 3:59 PM Michael Van Canneyt <michael at freepascal.org>
wrote:

> Yes, I know. But the goal is to have 'is/as'. Then there is at best only 1
> helper
> function for all enumerateds.
>

Oh yeah, I wasn't really suggesting a generic function as a *solution* to
the problem versus "is" and "as". I was just pointing it out as a concept
that works in general and can be used right now (for things other than
enums as well).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190713/fca31cc0/attachment.html>


More information about the fpc-devel mailing list