在数据库内读入了一批数据到delphi的combobox1.items中。当我用以下语句时出现了错误:if combobox1.Text:=combobox1.Items[0] then
begin
……
end
else
if combobox1.Text:=combobox1.Items[1] then……
的时候
出现了错误提示:Type of expression must be BOOLEAN请问这是什么错误,我应该如何解决呢?