sub lbl_click (index as integer) string$ = string$ lbl(index).caption
然后,你就必须要编写一系列的select case语句来分析这个字符串 ... select case string$ case "Hello I注释:m Happy" do something case "Hello I注释:m" this would be an error... case else do something else end select
select case IsLegal case 3 注释: the string was valid call goodstuff case 19 注释:the string was valid call goodstuff caseelse 注释:invalid call nogood end select