[fpc-devel] Comparison Delphi7/FPC2.4.0 compiled MSEide exe's

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Sep 14 17:32:21 CEST 2010


On 14 Sep 2010, at 17:23, Martin Schreiber wrote:

> The classes are used for example by
> "
> with ttheclass1(theclassinstance) do begin
> end;
> "

Using a class means sending a class message to it, or using the class  
type as a first class entity in the program (e.g. "x is classtype"). A  
typecast can be handled completely at compile time (unless you compile  
with -CR, in which case above will be translated into "with  
(theclassinstance as ttheclass1) do begin" and hence the class type  
will becomes a first class entity; but you cannot do that anyway when  
using "class crackers" since the as-operation would throw an error).


Jonas



More information about the fpc-devel mailing list