On Tue, 24 Sep 2013, Xiangrong Fang wrote:
Thanks, this works, sort of. But does not meet my needs, I will pass in either an int value or an object, but Variant is not compatible with TObject.
You could make it so using a custom variant manager or operator overloading, but this requires additional work. Michael.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal