<div dir="ltr"><div><div><div><div><div>Hi Sven,<br><br>Thank you for comment :)   I am interested in a high level description of how these concepts (virtual / reintroduce / overloading) differs and how they affect programming, and I am currently not running into trouble, just try to get a better understanding of the language.<br>

<br></div>I'll explain my question / confusions:<br><br></div>1)  I didn't notice that my question are related to "modes" of fpc, i.e. turbo-pascal/delphi/objfpc.    If they are different, I would like to know more details, and I am more interested in objfpc mode, not those "compatibility" modes.<br>

<br></div>2) I know override / overload are completely different thing, I am not trying to compare apple with orange.   Also, I am clear about the definition of virtual methods and their purpose.  What I need help is to explain the observations I found with my demo app (which is a bit different than I expected).  For example, why we need "reintroduce" while "overload" does the same job and better (it makes both methods available)?<br>

<br></div>Thanks,<br></div>Shannon<br><div><div><div><div><br><br><div><div><div><br><br></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/20 Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Am 20.08.2013 14:39 schrieb "Antonio Fortuny" <<a href="mailto:a.fortuny@sitasoftware.lu" target="_blank">a.fortuny@sitasoftware.lu</a>>:</p>

<div class="im"><br>
><br>
><br>
> Le 20/08/2013 14:34, Sven Barth a écrit :<br>
>><br>
>> >><br>
>> >> This is not same as the description in: <a href="http://www.freepascal.org/docs-html/ref/refsu26.html" target="_blank">http://www.freepascal.org/docs-html/ref/refsu26.html</a><br>
>> >><br>
>> >> BTW, the above documents are talking about objects, but I am using classes, is there any difference here?<br>
>> ><br>
>> > Yep: a class is a construct definig a collection of variables, properties and methods whilst an object is an instantiated class.<br>
>><br>
>> You are aware that the link mentioned by Xiangrong Fang points to a part of the manual about Turbo Pascal style objects which are different in a different sense to Delphi style objects/classes?<br>
><br>
> Yes, but as he posts a question in a FPC list I imagine he is looking for some general information. He looks not to be in trouble. Lest's wait and see</div><p></p>
<p>That has nothing to do with FPC list or not. Xiangrong Fang asked about two different language features here and you told him something about a completely different difference related to one of the two language features.<br>



Your answer is simply not an answer to his question.</p>
<p>Regards,<br>
Sven</p>
<br>_______________________________________________<br>
fpc-pascal maillist  -  <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br></blockquote></div><br></div>