Sujet : Re: enum sets
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 29. Aug 2024, 01:33:17
Autres entêtes
Organisation : None to speak of
Message-ID : <87wmk09nhu.fsf@nosuchdomain.example.com>
References : 1 2
User-Agent : Gnus/5.13 (Gnus v5.13)
Keith Thompson <Keith.S.Thompson+
u@gmail.com> writes:
[...]
Ada has something very similar to this:
>
type Font_Type is (CASCADIA_FONT, ARIAL_FONT);
subtype monospaced_font_type is Font_type range CASCADIA_FONT .. CASCADIA_FONT;
[...]
Please disregard the inconsistent use of upper and lower case. Ada,
unlike C, has case-insensitive identifiers and keywords, but here I was
just being sloppy.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */