[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
What to do when converting Null to another type
Source position: variants.pp line 278
var NullStrictConvert: Boolean = True; |
NullStrictConvert determines what to do when typecasting a Null value to another type: If it is True then an exception will be raised using VarCastError. If it is False then a sensible default is used: 0 or some variation on 0 based on the type of the variant. For string values the NullAsStringValue is used.
|
Raise a variant type cast error EVariantTypeCastError |
|
|
String value to use when converting a Null to a string. |