On 2018-01-29 22:32, Zoë Peterson wrote:
Is Free Pascal's behavior intentional? Can it be changed to match Delphi?
Something I've queried with the FPC developers some 10 years ago. The Delphi behaviour is undocumented, so developers are relying on a implementation detail that could change without notice.
FPC, as you noticed, implements such behaviour differently. They can, because once again, the Delphi behaviour in undocumented.
As someone that also works on Delphi code, the "cool interfaces trick" so often used in Delphi (eg: to implement a home-grown call stack etc) doesn't work so nicely with FPC - where you need a interface reference variable.
Anyway, the FPC team had no intention in changing the behaviour to something that is undocumented. So we had to learn to live with it. Maybe you have more luck with them that I did. ;-)
Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal