[fpc-pascal] Variants - Auto-convert nulls
African Wild Dog
paintedlycaon at gmail.com
Mon Nov 7 15:40:45 CET 2016
I need the variant type converting automatically null values to the
default value of the target type (e.g False for Booleans, 0 for
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal