我需要在Ada中获取与枚举类型的值相关联的数值.不是枚举中的位置,而是使用"for TYPE use"子句为每个值赋值的值.
有谁知道这是否可能?
enumeration ada
ada ×1
enumeration ×1