void ToGetEnumFromValue(Args _args)
{
ABC ABC;
str val = "B";
int m;
//m = enum2int(str2enum(ABC,val));
//print enum2int(str2enum(ABC,val));
print enum2str(str2enum(ABC,val));
pause;
}
{
ABC ABC;
str val = "B";
int m;
//m = enum2int(str2enum(ABC,val));
//print enum2int(str2enum(ABC,val));
print enum2str(str2enum(ABC,val));
pause;
}
No comments:
Post a Comment