主题:新手,请大侠指点一下
nLen := Length(cbbPort.Text);
MetComm.StopComm;
MetCom := copy(cbbPort.Text, 4, nLen - 3);
if strtoint(MetCom) >= 10 then
MetCom := '\\?\COM' + MetCom
else
MetCom := cbbPort.Text;
请哪位大侠帮忙解释一下程序这样写的作用是什么,特别是MetCom := '\\?\COM' + MetCom这一句中\\?\COM' 是什么意思?
万分感谢!
MetComm.StopComm;
MetCom := copy(cbbPort.Text, 4, nLen - 3);
if strtoint(MetCom) >= 10 then
MetCom := '\\?\COM' + MetCom
else
MetCom := cbbPort.Text;
请哪位大侠帮忙解释一下程序这样写的作用是什么,特别是MetCom := '\\?\COM' + MetCom这一句中\\?\COM' 是什么意思?
万分感谢!