Enumerations: Difference between revisions

No edit summary
Line 680:
enum
int APPLE, BANANA, CHERRY
fun asText = <|me.name + "(" + me.value + ")"
end
type ExplicitFruits
Line 687 ⟶ 686:
int BANANA = 20
int CHERRY = 1
fun asText = <|me.name + "(" + me.value + ")"
end
type Main
214

edits