Enumerations: Difference between revisions

Content added Content deleted
Line 269: Line 269:
as a dictionary:
as a dictionary:
[apple:1 banana:2 cherry:3]</pre>
[apple:1 banana:2 cherry:3]</pre>

=={{header|ATS}}==

<lang ATS>datatype my_enum =
| value_a
| value_b
| value_c</lang>


=={{header|AutoHotkey}}==
=={{header|AutoHotkey}}==