5.5.1.2.10 Let-coercion from Null

The semantics of Null Let-coercion depend on the destination’s declared type:

Source Value Type

Destination

Declared Type

Semantics

Null

Any resizable array or UDT

Runtime error 13 (Type mismatch) is raised.

Null

Any other type except a fixed-size array or Variant

Runtime error 94 (Invalid use of Null) is raised.