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 _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel