[J3] US21 INT for enum type
Malcolm Cohen
malcolm at nag-j.co.jp
Thu Oct 14 02:25:52 UTC 2021
Hi John,
> I have not found it said anywhere that varables of enum type are integers.
Correct, they are of enum type, not integer type.
> However, INT does not provide conversion from enum type. Is this a mistake?
Yes, that is an omission. Looking at the specs, (21-110r1), it does not say that INT is available for enum type, but in several places (in particular, spec (I), for i/o) – implies that we were expecting it to be available.
I will write a paper. Thanks for noticing this.
Cheers,
--
..............Malcolm Cohen, NAG Oxford/Tokyo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20211014/6276fe77/attachment.htm>
More information about the J3
mailing list