我有一段程序:
case combobox1.itemindex of
0:..................case itemindex of
0:...
1:...
1:..................case itemindex of
0:...
1:...
运行时提示错误:1没有定义
请问高手我要实现这种嵌套怎么改
case combobox1.itemindex of
0:..................case itemindex of
0:...
1:...
1:..................case itemindex of
0:...
1:...
运行时提示错误:1没有定义
请问高手我要实现这种嵌套怎么改
0:..................case itemindex of
0:...
1:...
end;
1:..................case itemindex of
0:...
1:...
end;
end 总要有的吧!
0:..................case itemindex of
0:...
1:...
end; //保证一个完整的Case .. of ..end;
1:..................case itemindex of
0:...
1:...
end;
注意Case语句的完整性!