web*_*rc2 4 string enums ada
我想将一个现有的字符串转换为枚举(不作为枚举读取).我怎样才能做到这一点?
web*_*rc2 8
例:
-- type declaration type Hands is (Left, Right); -- code body Hand : Hands; Hand := Hands'Value("Left"); -- yields `Left`
归档时间:
13 年,2 月 前
查看次数:
1572 次
最近记录: