Enumerations: Difference between revisions

Line 271:
 
=={{header|ATS}}==
 
The wording of the task is C-centric, where an ''enum'' is a sort of integer, but it is true that the following type will be translated by the ATS compiler to C integers:
 
<lang ATS>datatype my_enum =
1,448

edits