Top.Mail.Ru
Мастера DELPHI, Delphi programming community Титульная страница Поиск, карта сайта Написать письмо 
| Новости | Поиск | FAQ | Статьи | Книги | Новости VCL |
| Форумы ЧАТ | Орешник | KOL и MCK |
Форумы -» Основная («Начинающим»)/ Базы / WinAPI / Компоненты / Сети / Media / Игры / Corba и COM / KOL / FreePascal / .Net / Прочее / RSDN.ORG

« предыдущая ветвь | форум | следующая ветвь »

Проблемы с присваиванием типа 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.


Наверх

Титульная страница Поиск, карта сайта Написать письмо