[fpc-devel] [Suggestion] Enumeration range-check intrinsic
Sven Barth
pascaldragon at googlemail.com
Fri Jul 5 10:52:58 CEST 2019
Michael Van Canneyt <michael at freepascal.org> schrieb am Fr., 5. Juli 2019,
10:47:
> If memory serves well, FPC introduced this (before delphi) to be able to
> import C enums with assigned values.
>
Correct. That is also why we allow both "=" and ":=" for the value
assignments. Because Delphi only supports one of the two and we picked the
other back then. ;)
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190705/57f6d24c/attachment.html>
More information about the fpc-devel
mailing list