[fpc-pascal] Chaining method calls
Ryan Joseph
genericptr at gmail.com
Tue Mar 24 09:00:37 CET 2020
Free Pascal - General mailing list wrote
> Is it possible to achieve this dynamically without resorting to type
> casting? It feels like classes should have a builtin type for each class,
> like TClassType, which similar to TObject.ClassType but is a compile time
> type.
I didn't think enough before sending this because this clearly isn't a
compile time issue. Currently this probably isn't possible unless there is
an "AnyClass" type or something like that. Not sure if that exists in Pascal
but methinks not.
-----
Regards,
Ryan Joseph
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
More information about the fpc-pascal
mailing list