<p>Am 17.12.2012 23:46 schrieb "Paul Ishenin" <<a href="mailto:paul.ishenin@gmail.com">paul.ishenin@gmail.com</a>>:<br>
><br>
> 18.12.12, 5:26, Ewald пишет:<br>
><br>
><br>
>> Suppose TTestClass contains `AField: Integer; static;`, then the following would be right if I understand you correctly?<br>
>><br>
>> Class Procedure TTestClass.AMethod; static;  // I don't know if `static` should be in the implementation as well, but I'll soon figure out :-)<br>
>> Begin<br>
>>         AField:= 0;             //Wrong? My guess is it would fail to compile in this case, but I haven't got a compiler at hand now.<br>
>><br>
>>         TTestClass.AField:= 0;  //Right?<br>
>> End;<br>
><br>
><br>
> Both calls will work. AMethod still belongs to class, so it first searches identifier in that class.</p>
<p>Right... Forgot about the scope... -.-</p>
<p>Regards,<br>
Sven</p>