B boy2002 Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-04 #1 提示incompatible types:'string' and 'char'
L leizengzheng Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-04 #2 if copy(aqurMasterBSPCode.Value,1,1)[1] in ['G','X','W','B','Q'] then
if copy(aqurMasterBSPCode.Value,1,1)[1] in ['G','X','W','B','Q'] then
M maolu28 Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-04 #3 试一试: var str :string; begin str :=aqurMasterBSPCode.Value; if str[1] in ['G','X','W','B','Q'] then What you do ; end; good luck!
试一试: var str :string; begin str :=aqurMasterBSPCode.Value; if str[1] in ['G','X','W','B','Q'] then What you do ; end; good luck!
T tianhf Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-04 #4 if copy(aqurMasterBSPCode.Value[1] in ............. 你用copy 返回的结果是String型,虽然你只是拷贝1个字符,可也不是Char 型!!!