RosettaCodeData/Task/Enumerations/Fantom/enumerations-1.fantom

3 lines
90 B
Plaintext

// create an enumeration with named constants
enum class Fruits { apple, banana, orange }