> On Apr 15, 2016, at 5:13 PM, Tony Whyman <[email protected]>
> wrote:
>
> unit unitA;
>
> interface
>
> type
>
> class TClassA
> private
> FClassBObject: TObject;
> public
> procedure SomeProc;
> end;
>
> implementation
>
> uses unitB;
>
> procedure TClassA.SomeProc;
> var aClassBObject: TClassB absolute FClassBObject;
> begin
> aClassBObject.OtherProc;
> end;
>
> end.
I see now. That’s possibly preferable so I’ll keep it in mind but like you said
just sucking it up and type casting is not so bad. :) Sure enough but it would
even better if the compiler was more friendly here. If there was a good pre
parser in FPC I’d just make some custom syntax but that’s not an option either
as far as I know.
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal