急求,大家好,我是PB软件的新手,在使用MSCOMM控件编写的时候遇到问题

在使用MSCOMM控件编写oncomm程序的时候,显示错误:coo31:syntax error
string Is_input,Out_input
choose case Ole_MSC.object.commevent
case 2 //CommEvent属性为CommEvReceive
Ole_MSC.object.InputLen=10000 //读入缓冲区中的数据长度
Is_input=Ole_MSC.object.Input //从接收缓冲区读取群补数据,写入字符串变量Is_input

string Is_input,Out_input
choose case Ole_MSC.object.commevent
case 2 //CommEvent属性为CommEvReceive
Ole_MSC.object.InputLen=10000 //读入缓冲区中的数据长度
Is_input=Ole_MSC.object.Input //从接收缓冲区读取群补数据,写入字符串变量Is_input


Ole_MSC.object.InputLen=10000 //读入缓冲区中的数据长度

注释掉试试

应该是这里出问题了