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

Martok listbox at martoks-place.de
Fri Jul 5 14:58:36 CEST 2019


Am 05.07.2019 um 12:20 schrieb Ondrej Pokorny:
>> Anything that even looks like a subrange cannot be used for these interfaces.
> 
> You may use enumerations for these interfaces - you may just not fill 
> them directly but through an integer variable in between when reading 
> from outside.

Then you're not using them *in* the interface ;-)

-- 
Regards,
Martok

Ceterum censeo b32079 esse sanandam.



More information about the fpc-devel mailing list