blob: 37c4ffddee31b6387636d04ca826a0f263fa989a (
plain)
1
2
3
4
5
6
7
8
9
10
|
enum MealType { "rice", "noodles", "other" };
interface Meal {
attribute MealType type;
attribute float size; // in grams
void initialize(MealType type, float size);
};
enum AltMealType { "rice", "noodles", "other", };
|