Собственно сабж, куча варнингов...
Код:
1 | [DCC Warning] Unit6 . pas( 296 ): W1023 Comparing signed and unsigned types - widened both operands
|
Ругаетсо на строки типа
Код:
1 2 3 | if ((RadioGroup1 . Enabled= True ) and
(RadioGroup1 . Color=RGB( 238 , 144 , 144 )) or
(RadioGroup1 . Color=RGB( 238 , 0 , 0 ))) then
|
Код:
1 2 3 | if ((((Components[i] as TGroupBox).Color=RGB( 144 , 238 , 144 )) or
((Components[i] as TGroupBox).Name= 'GroupBox15' )) and
((Components[i] as TGroupBox).Visible= True )) then
|
Хотелось бы знать в чем причина и как исправить?
P.S. В принципе не мешает, работает и ладно, но не понятна суть предупреждений и как их можно исправить...