ibec_CastEx

In comparison with the ibec_Cast function, ibec_CastEx doesn't raise an exception if casting is impossible, instead it returns a specified DefaultValue.

Syntax

  function ibec_CastEx(Value : variant; CastToType : integer; DefaultValue : variant) : variant;