Подскажите как сделать чтобы выполнялась операция and в следующем коде:
Код:
if RichEdit1.Lines[RichEdit1.Lines.Count-1]='test1' and RichEdit1.Lines[RichEdit1.Lines.Count-2]='test2' then ...
operator not applicable to this operand type ошибка при компиляции
может есть какой то аналог или еще что то?
__________________
"I remember the good old days, when computers were
mainframes, analysts were magicians,and programmers
punced cards..."
|