![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Проблемы с присваиванием типа TextFile [D7, Win2k]
megabax © (2005-09-07 21:44:00)при компиляции ругается на строку:
FRule.VarLogFile:=FVarLogFile;
говорит Operator not applicate to this operand type.
VarLogFile - свойство типа TextFile, объявленое как
property VarLogFile:TextFile read FVarLogFile write FVarLogFile;
FVarLogFile - поле класса типа TextFile.
Что мне делать?
Anatoly Podgoretsky (2005-09-08 09:28:00) [1]Assignment-compatibility is not a symmetric relation. An expression of type T2 can be assigned to a variable of type T1 if the value of the expression falls in the range of T1 and at least one of the following conditions is satisfied.
T1 and T2 are of the same type, and it is not a file typeor structured type that contains a file type at any level.