我有这个代码:
if (conexao.FieldValues['complex'] = '02' and conexao.FieldValues['financ'] = '04') then
conexao.FieldValues['complex']
是一个字符串,'02' 也是一个字符串,但我得到一个错误:Incompatible types: 'string' and 'Boolean'
为什么?
最佳答案
关于delphi - 在delphi上比较字符串得到错误不兼容的类型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52915781/