On 2016-09-29 06:42, Martin Schreiber wrote: > abcintf:= iabc(abc); > " > which has the best performace.
But you must still remember to check if abcintf has been successfully assigned. [personal opinion] Hence I still prefer the Supports(..) call as it can be used directly in a boolean expression, the name itself makes it very clear what you are asking from the code, and it just reads better. 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