Hello,

I need the variant type converting automatically  null values to the
default value of the target type (e.g False for Booleans, 0 for
Integers/Floats).
I know that i can achieve this by setting the variable NullStrictConvert
(unit Variants) to False. However, this is a global setting and therefore
is not safe using such method.

What would be the best way to solve my problem?

Best regards
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to