x0
e.g.
new const item_type[MAX_ITEM_TYPE][] =
{
"code_a",
"code_b ",
"code_ c"
}
public code_a(id)
{
xxxxxxxxxxxxxxxxxx
}
public code_b(id)
{
xxxxxxxxxxxxxxxxxx
}
public code_c(id)
{
xxxxxxxxxxxxxxxxxx
}
如果写在menu..
switch(key)
item_type[key][id]
可行吗
x0